xml: namespace serialization

This commit is contained in:
Lennart
2024-12-31 18:20:02 +01:00
parent 61e2dab37f
commit 098e374e4d
20 changed files with 215 additions and 133 deletions

View File

@@ -37,10 +37,10 @@ pub enum AddressbookProp {
Getcontenttype(String),
// CardDAV (RFC 6352)
#[xml(ns = b"urn:ietf:params:xml:ns:carddav")]
#[xml(ns = "rustical_dav::namespace::NS_CARDDAV")]
AddressbookDescription(Option<String>),
#[xml(skip_deserializing)]
#[xml(ns = b"urn:ietf:params:xml:ns:carddav")]
#[xml(ns = "rustical_dav::namespace::NS_CARDDAV")]
SupportedAddressData(SupportedAddressData),
#[xml(skip_deserializing)]
SupportedReportSet(SupportedReportSet),