Struct lib::offtime::OffDays [−][src]
pub struct OffDays(_);Expand description
Struct olding a map of (Weekday, Parity) descripting day offs.
Implementations
Trait Implementations
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
The user is off if current day is in OffDays and either,
- parity is all
- parity match the current iso week number
Auto Trait Implementations
impl RefUnwindSafe for OffDays
impl UnwindSafe for OffDays
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> NoneValue for T where
T: Default,
impl<T> NoneValue for T where
T: Default,
type NoneType = T
pub fn null_value() -> T
pub fn null_value() -> T
The none-equivalent value.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more