aboutsummaryrefslogtreecommitdiff
path: root/src/dav/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dav/types.rs')
-rw-r--r--src/dav/types.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dav/types.rs b/src/dav/types.rs
index 4487de7..ffb08d4 100644
--- a/src/dav/types.rs
+++ b/src/dav/types.rs
@@ -353,9 +353,9 @@ pub struct Multistatus<T: Extension> {
///
/// <!ELEMENT owner ANY >
//@FIXME might need support for an extension
-pub struct Owner {
- pub txt: Option<String>,
- pub url: Option<Href>,
+pub enum Owner {
+ Txt(String),
+ Href(Href),
}
/// 14.18. prop XML Element