mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 10:32:19 +00:00
caldav: Document which RFCs the properties originate from
This commit is contained in:
@@ -31,10 +31,13 @@ pub enum CalendarObjectPropName {
|
||||
#[derive(Deserialize, Serialize, Debug, Clone)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
pub enum CalendarObjectProp {
|
||||
// WebDAV (RFC 2518)
|
||||
Getetag(String),
|
||||
Getcontenttype(String),
|
||||
|
||||
// CalDAV (RFC 4791)
|
||||
#[serde(rename = "C:calendar-data")]
|
||||
CalendarData(String),
|
||||
Getcontenttype(String),
|
||||
#[serde(other)]
|
||||
Invalid,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user