pub struct CalendarException {
pub date: NaiveDate,
pub working_hours: Option<Vec<TimeRange>>,
}Expand description
Calendar exception (override for specific dates)
Fields§
§date: NaiveDate§working_hours: Option<Vec<TimeRange>>Trait Implementations§
Source§impl Clone for CalendarException
impl Clone for CalendarException
Source§fn clone(&self) -> CalendarException
fn clone(&self) -> CalendarException
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 CalendarException
impl Debug for CalendarException
Source§impl<'de> Deserialize<'de> for CalendarException
impl<'de> Deserialize<'de> for CalendarException
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
Auto Trait Implementations§
impl Freeze for CalendarException
impl RefUnwindSafe for CalendarException
impl Send for CalendarException
impl Sync for CalendarException
impl Unpin for CalendarException
impl UnwindSafe for CalendarException
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