diff options
Diffstat (limited to 'src/dav/types.rs')
-rw-r--r-- | src/dav/types.rs | 5 |
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 /// |