Dav Push: Support for calendar collections

This commit is contained in:
Lennart
2025-01-12 22:31:39 +01:00
parent 974acdf2cb
commit 347061ff8f
10 changed files with 564 additions and 22 deletions

View File

@@ -14,10 +14,12 @@ pub struct PropTagWrapper<T: XmlSerialize>(#[xml(flatten, ty = "untagged")] pub
// RFC 2518
// <!ELEMENT propstat (prop, status, responsedescription?) >
#[derive(XmlSerialize)]
#[derive(XmlSerialize, Debug)]
pub struct PropstatElement<PropType: XmlSerialize> {
#[xml(ns = "crate::namespace::NS_DAV")]
pub prop: PropType,
#[xml(serialize_with = "xml_serialize_status")]
#[xml(ns = "crate::namespace::NS_DAV")]
pub status: StatusCode,
}