pub struct BookingException {
pub date: String,
pub closed: bool,
pub ranges: Vec<BookingTimeRange>,
}Expand description
A single-date override of the weekly schedule (a holiday, or special hours).
Fields§
§date: String"YYYY-MM-DD" in the schedule’s own timezone.
closed: bool§ranges: Vec<BookingTimeRange>Trait Implementations§
Source§impl Clone for BookingException
impl Clone for BookingException
Source§impl Debug for BookingException
impl Debug for BookingException
Source§impl<'de> Deserialize<'de> for BookingException
impl<'de> Deserialize<'de> for BookingException
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 BookingException
Source§impl PartialEq for BookingException
impl PartialEq for BookingException
Source§impl Serialize for BookingException
impl Serialize for BookingException
impl StructuralPartialEq for BookingException
Auto Trait Implementations§
impl Freeze for BookingException
impl RefUnwindSafe for BookingException
impl Send for BookingException
impl Sync for BookingException
impl Unpin for BookingException
impl UnsafeUnpin for BookingException
impl UnwindSafe for BookingException
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