pub struct Weekdays {
pub type: IncludedExcluded,
pub count: i32,
pub mon: i32,
pub tue: i32,
pub wed: i32,
pub thu: i32,
pub fri: i32,
pub sat: i32,
pub sun: i32,
}Expand description
The spread of excluded or included weekdays in includeddays.
Fields§
§type: IncludedExcludedSpecifies whether or not the weekdays counted were part of an included or excluded filter.
count: i32How many days in total have been counted.
mon: i32Count for Mondays.
tue: i32Count for Tuesdays.
wed: i32Count for Wednesdays.
thu: i32Count for Thursdays.
fri: i32Count for Fridays.
sat: i32Count for Saturdays.
sun: i32Count for Sundays.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Weekdays
impl<'de> Deserialize<'de> for Weekdays
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 Weekdays
impl RefUnwindSafe for Weekdays
impl Send for Weekdays
impl Sync for Weekdays
impl Unpin for Weekdays
impl UnwindSafe for Weekdays
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