pub struct ExceptionOperatingHours {
pub date_range: Option<Box<DateRange>>,
pub operating_hours: Option<Box<OperatingHours>>,
}Expand description
ExceptionOperatingHours : Defines exceptions to standard operating hours for certain date ranges.
Fields§
§date_range: Option<Box<DateRange>>§operating_hours: Option<Box<OperatingHours>>Implementations§
Source§impl ExceptionOperatingHours
impl ExceptionOperatingHours
Sourcepub fn new() -> ExceptionOperatingHours
pub fn new() -> ExceptionOperatingHours
Defines exceptions to standard operating hours for certain date ranges.
Trait Implementations§
Source§impl Clone for ExceptionOperatingHours
impl Clone for ExceptionOperatingHours
Source§fn clone(&self) -> ExceptionOperatingHours
fn clone(&self) -> ExceptionOperatingHours
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptionOperatingHours
impl Debug for ExceptionOperatingHours
Source§impl Default for ExceptionOperatingHours
impl Default for ExceptionOperatingHours
Source§fn default() -> ExceptionOperatingHours
fn default() -> ExceptionOperatingHours
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExceptionOperatingHours
impl<'de> Deserialize<'de> for ExceptionOperatingHours
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 ExceptionOperatingHours
impl PartialEq for ExceptionOperatingHours
Source§impl Serialize for ExceptionOperatingHours
impl Serialize for ExceptionOperatingHours
impl StructuralPartialEq for ExceptionOperatingHours
Auto Trait Implementations§
impl Freeze for ExceptionOperatingHours
impl RefUnwindSafe for ExceptionOperatingHours
impl Send for ExceptionOperatingHours
impl Sync for ExceptionOperatingHours
impl Unpin for ExceptionOperatingHours
impl UnwindSafe for ExceptionOperatingHours
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