pub struct WorkingHours {
pub start_hour: u32,
pub end_hour: u32,
pub weekdays: [bool; 7],
}Expand description
Working hours in local time. weekdays[0] is Monday.
Fields§
§start_hour: u32§end_hour: u32§weekdays: [bool; 7]Trait Implementations§
Source§impl Clone for WorkingHours
impl Clone for WorkingHours
impl Copy for WorkingHours
Source§impl Debug for WorkingHours
impl Debug for WorkingHours
Source§impl Default for WorkingHours
impl Default for WorkingHours
impl Eq for WorkingHours
Source§impl PartialEq for WorkingHours
impl PartialEq for WorkingHours
impl StructuralPartialEq for WorkingHours
Auto Trait Implementations§
impl Freeze for WorkingHours
impl RefUnwindSafe for WorkingHours
impl Send for WorkingHours
impl Sync for WorkingHours
impl Unpin for WorkingHours
impl UnsafeUnpin for WorkingHours
impl UnwindSafe for WorkingHours
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.