caldav: Document which RFCs the properties originate from

This commit is contained in:
Lennart
2024-10-27 11:55:10 +01:00
parent 61aef8d52b
commit d4d6a9e8d0
4 changed files with 31 additions and 6 deletions

View File

@@ -25,7 +25,10 @@ pub struct Resourcetype {
#[derive(Deserialize, Serialize, Debug)]
#[serde(rename_all = "kebab-case")]
pub enum RootProp {
// WebDAV (RFC 2518)
Resourcetype(Resourcetype),
// WebDAV Current Principal Extension (RFC 5397)
CurrentUserPrincipal(HrefElement),
#[serde(other)]
Invalid,