pub struct RangeSlot {
pub start_date_time: Option<String>,
pub end_date_time: Option<String>,
pub capacity: Option<i32>,
}Expand description
RangeSlot : Capacity slots represented in a format similar to availability rules.
Fields§
§start_date_time: Option<String>Start date time of slot in ISO 8601 format with precision of seconds.
end_date_time: Option<String>End date time of slot in ISO 8601 format with precision of seconds.
capacity: Option<i32>Capacity of the slot.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RangeSlot
impl<'de> Deserialize<'de> for RangeSlot
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 StructuralPartialEq for RangeSlot
Auto Trait Implementations§
impl Freeze for RangeSlot
impl RefUnwindSafe for RangeSlot
impl Send for RangeSlot
impl Sync for RangeSlot
impl Unpin for RangeSlot
impl UnsafeUnpin for RangeSlot
impl UnwindSafe for RangeSlot
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