aboutsummaryrefslogtreecommitdiff
path: root/aero-dav/src/caltypes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'aero-dav/src/caltypes.rs')
-rw-r--r--aero-dav/src/caltypes.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/aero-dav/src/caltypes.rs b/aero-dav/src/caltypes.rs
index 5ac50e6..aa056d4 100644
--- a/aero-dav/src/caltypes.rs
+++ b/aero-dav/src/caltypes.rs
@@ -116,6 +116,7 @@ pub enum ResourceType {
/// Check the matching Property object for documentation
#[derive(Debug, PartialEq, Clone)]
pub enum PropertyRequest {
+ CalendarHomeSet,
CalendarDescription,
CalendarTimezone,
SupportedCalendarComponentSet,
@@ -131,6 +132,31 @@ pub enum PropertyRequest {
#[derive(Debug, PartialEq, Clone)]
pub enum Property {
+ /// Name: calendar-home-set
+ ///
+ /// Namespace: urn:ietf:params:xml:ns:caldav
+ ///
+ /// Purpose: Identifies the URL of any WebDAV collections that contain
+ /// calendar collections owned by the associated principal resource.
+ ///
+ /// Conformance: This property SHOULD be defined on a principal
+ /// resource. If defined, it MAY be protected and SHOULD NOT be
+ /// returned by a PROPFIND DAV:allprop request (as defined in Section
+ /// 12.14.1 of [RFC2518]).
+ ///
+ /// Description: The CALDAV:calendar-home-set property is meant to allow
+ /// users to easily find the calendar collections owned by the
+ /// principal. Typically, users will group all the calendar
+ /// collections that they own under a common collection. This
+ /// property specifies the URL of collections that are either calendar
+ /// collections or ordinary collections that have child or descendant
+ /// calendar collections owned by the principal.
+ ///
+ /// Definition:
+ ///
+ /// <!ELEMENT calendar-home-set (DAV:href*)>
+ CalendarHomeSet(dav::Href),
+
/// Name: calendar-description
///
/// Namespace: urn:ietf:params:xml:ns:caldav