pub enum EventStatus {
Confirmed,
Tentative,
Cancelled,
Blocked,
}Expand description
Status of an event in the booking lifecycle
Variants§
Confirmed
The event is confirmed and occupies time (default)
Tentative
The event is tentative/provisional and occupies time
Cancelled
The event is cancelled and does NOT occupy time
Blocked
The time slot is blocked (similar to Confirmed)
Trait Implementations§
Source§impl Clone for EventStatus
impl Clone for EventStatus
Source§fn clone(&self) -> EventStatus
fn clone(&self) -> EventStatus
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventStatus
impl Debug for EventStatus
Source§impl Default for EventStatus
impl Default for EventStatus
Source§fn default() -> EventStatus
fn default() -> EventStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventStatus
impl<'de> Deserialize<'de> for EventStatus
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
Source§impl PartialEq for EventStatus
impl PartialEq for EventStatus
Source§impl Serialize for EventStatus
impl Serialize for EventStatus
impl Copy for EventStatus
impl Eq for EventStatus
impl StructuralPartialEq for EventStatus
Auto Trait Implementations§
impl Freeze for EventStatus
impl RefUnwindSafe for EventStatus
impl Send for EventStatus
impl Sync for EventStatus
impl Unpin for EventStatus
impl UnwindSafe for EventStatus
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)