#[non_exhaustive]pub struct CalendarsAccountCapability {
pub max_calendars_per_event: Option<u64>,
pub min_date_time: UTCDate,
pub max_date_time: UTCDate,
pub max_expanded_query_duration: Duration,
pub max_participants_per_event: Option<u64>,
pub may_create_calendar: bool,
}Expand description
Account-level Calendars capability (draft-ietf-jmap-calendars-33 §1.5.1).
The value of accountCapabilities["urn:ietf:params:jmap:calendars"] for a
given account. Describes server capabilities and account-level permissions
for the Calendars extension.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_calendars_per_event: Option<u64>Maximum number of calendars a single event may belong to, or null
for no limit.
min_date_time: UTCDateEarliest UTC date-time value the server accepts for any CalendarEvent date property.
max_date_time: UTCDateLatest UTC date-time value the server accepts for any CalendarEvent date property.
max_expanded_query_duration: DurationMaximum duration the user may query over when asking the server to expand recurrences (draft-ietf-jmap-calendars-33 §1.5.1: “maxExpandedQueryDuration: Duration”).
max_participants_per_event: Option<u64>Maximum number of participants a single event may have, or null
for no limit.
may_create_calendar: boolIf true, the user may create a calendar in this account.