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.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dav/types.rs b/src/dav/types.rs
index 95fe749..55e9e86 100644
--- a/src/dav/types.rs
+++ b/src/dav/types.rs
@@ -372,7 +372,10 @@ pub struct Owner {
/// text or mixed content.
///
/// <!ELEMENT prop ANY >
-pub struct Prop<T: Extension>(pub Vec<Property<T>>);
+pub enum Prop<T: Extension> {
+ Name(Vec<PropertyRequest<T>>),
+ Value(Vec<Property<T>>),
+}
/// 14.19. propertyupdate XML Element
///