pub enum RuleKind {
Julian,
DayOfYear,
MonthWeekDay,
}Expand description
Identifies the type of transition rule in a POSIX TZ string.
Variants§
Julian
Jn format: Julian day (1-365); February 29 is never counted.
DayOfYear
n format: zero-based day of year (0-365); February 29 is counted.
MonthWeekDay
Mm.w.d format: month, week, and day-of-week.
Trait Implementations§
impl Copy for RuleKind
impl Eq for RuleKind
impl StructuralPartialEq for RuleKind
Auto Trait Implementations§
impl Freeze for RuleKind
impl RefUnwindSafe for RuleKind
impl Send for RuleKind
impl Sync for RuleKind
impl Unpin for RuleKind
impl UnsafeUnpin for RuleKind
impl UnwindSafe for RuleKind
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