mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 21:42:34 +00:00
Add sync-token field to MultistatusElement
This commit is contained in:
@@ -54,6 +54,7 @@ pub struct MultistatusElement<T1: Serialize, T2: Serialize> {
|
|||||||
pub ns_caldav: &'static str,
|
pub ns_caldav: &'static str,
|
||||||
#[serde(rename = "@xmlns:IC")]
|
#[serde(rename = "@xmlns:IC")]
|
||||||
pub ns_ical: &'static str,
|
pub ns_ical: &'static str,
|
||||||
|
pub sync_token: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T1: Serialize, T2: Serialize> Default for MultistatusElement<T1, T2> {
|
impl<T1: Serialize, T2: Serialize> Default for MultistatusElement<T1, T2> {
|
||||||
@@ -64,6 +65,7 @@ impl<T1: Serialize, T2: Serialize> Default for MultistatusElement<T1, T2> {
|
|||||||
ns_dav: Namespace::Dav.as_str(),
|
ns_dav: Namespace::Dav.as_str(),
|
||||||
ns_caldav: Namespace::CalDAV.as_str(),
|
ns_caldav: Namespace::CalDAV.as_str(),
|
||||||
ns_ical: Namespace::ICal.as_str(),
|
ns_ical: Namespace::ICal.as_str(),
|
||||||
|
sync_token: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user