pub struct JmapCalendarsCapability {
pub max_calendars_per_event: Option<u64>,
pub min_date_time: Option<String>,
pub max_date_time: Option<String>,
pub max_expanded_query_duration: Option<String>,
pub max_participants_per_event: Option<u64>,
pub may_create_calendar: bool,
}Expand description
Value of the calendars capability in an account’s
accountCapabilities property (draft-ietf-jmap-calendars).
Fields§
§max_calendars_per_event: Option<u64>Max number of Calendars assignable to a single CalendarEvent;
None for no limit.
min_date_time: Option<String>Earliest date-time the server accepts, in UTC.
max_date_time: Option<String>Latest date-time the server accepts, in UTC.
max_expanded_query_duration: Option<String>Longest time range an expanded CalendarEvent/query may span,
as an ISO 8601 duration.
max_participants_per_event: Option<u64>Max number of participants a single CalendarEvent may carry;
None for no limit.
may_create_calendar: boolWhether the user may create a Calendar in this account.
Trait Implementations§
Source§impl Clone for JmapCalendarsCapability
impl Clone for JmapCalendarsCapability
Source§fn clone(&self) -> JmapCalendarsCapability
fn clone(&self) -> JmapCalendarsCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapCalendarsCapability
impl Debug for JmapCalendarsCapability
Source§impl Default for JmapCalendarsCapability
impl Default for JmapCalendarsCapability
Source§fn default() -> JmapCalendarsCapability
fn default() -> JmapCalendarsCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JmapCalendarsCapability
impl<'de> Deserialize<'de> for JmapCalendarsCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JmapCalendarsCapability
impl RefUnwindSafe for JmapCalendarsCapability
impl Send for JmapCalendarsCapability
impl Sync for JmapCalendarsCapability
impl Unpin for JmapCalendarsCapability
impl UnsafeUnpin for JmapCalendarsCapability
impl UnwindSafe for JmapCalendarsCapability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more