Enum lib::offtime::Parity [−][src]
pub enum Parity {
EveryWeek,
OddWeek,
EvenWeek,
}Expand description
Struct for describing the parity of the week for which the out of work day apply Parity is given according to iso week number
Variants
Day off for all weeks
Day off only for odd weeks
Day off only for even weeks
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
Auto Trait Implementations
impl RefUnwindSafe for Parity
impl UnwindSafe for Parity
Blanket Implementations
Mutably borrows from an owned value. Read more
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