pub struct FreeSlot {
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub duration_minutes: i64,
}Expand description
A free time slot.
Fields§
§start: DateTime<Utc>§end: DateTime<Utc>§duration_minutes: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for FreeSlot
impl<'de> Deserialize<'de> for FreeSlot
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 FreeSlot
Auto Trait Implementations§
impl Freeze for FreeSlot
impl RefUnwindSafe for FreeSlot
impl Send for FreeSlot
impl Sync for FreeSlot
impl Unpin for FreeSlot
impl UnsafeUnpin for FreeSlot
impl UnwindSafe for FreeSlot
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