Skip to main content

contacts_core/
property.rs

1use crate::{
2    Href,
3    ns::*,
4    ResourceType,
5    XmlError,
6    XmlReader,
7    XmlWriter,
8};
9
10#[macro_use]
11mod macros;
12
13properties! {
14    #[description "Address Book Description"]
15    #[rfc 6352 section 6.2.1]
16    #[xml CARDDAV:"addressbook-description"]
17    AddressBookDescription: String;
18
19    #[description "Address Book Home Set"]
20    #[rfc 6352 section 7.1.1]
21    #[xml CARDDAV:"addressbook-home-set"]
22    AddressBookHomeSet: Vec<Href>;
23
24    #[description "Current User Principal"]
25    #[rfc 5397]
26    #[xml DAV:"current-user-principal"]
27    CurrentUserPrincipal: Href;
28
29    #[description "Resource Type"]
30    #[rfc 4918 section 15.9]
31    #[xml DAV:"resourcetype"]
32    ResourceType: ResourceType;
33}
34