#[non_exhaustive]pub enum BusyStatus {
Confirmed,
Tentative,
Unavailable,
}Expand description
The busyStatus of a BusyPeriod (draft-ietf-jmap-calendars-33
§2.2): String (default: "unavailable") that “MUST be one of” the
three values below, so any other string fails to deserialize.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Confirmed
"confirmed" — “The event status is “confirmed” and the
Principal’s “participationStatus” is “accepted”.“
Tentative
"tentative" — “The event status is “tentative” or the
Principal’s “participationStatus” is “tentative”.“
"unavailable" — “The Principal is not available for scheduling
at this time for any other reason.” The default.
Trait Implementations§
Source§impl Clone for BusyStatus
impl Clone for BusyStatus
impl Copy for BusyStatus
Source§impl Debug for BusyStatus
impl Debug for BusyStatus
Source§impl Default for BusyStatus
impl Default for BusyStatus
Source§impl<'de> Deserialize<'de> for BusyStatus
impl<'de> Deserialize<'de> for BusyStatus
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
impl Eq for BusyStatus
Source§impl Hash for BusyStatus
impl Hash for BusyStatus
Source§impl PartialEq for BusyStatus
impl PartialEq for BusyStatus
Source§impl Serialize for BusyStatus
impl Serialize for BusyStatus
impl StructuralPartialEq for BusyStatus
Auto Trait Implementations§
impl Freeze for BusyStatus
impl RefUnwindSafe for BusyStatus
impl Send for BusyStatus
impl Sync for BusyStatus
impl Unpin for BusyStatus
impl UnsafeUnpin for BusyStatus
impl UnwindSafe for BusyStatus
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