pub enum Interval {
}
Variants
Seconds(u32)
The next multiple of n
seconds since the start of the Unix epoch
Minutes(u32)
The next multiple of n
minutes since the start of the day
Hours(u32)
The next multiple of n
hours since the start of the day
Days(u32)
The next multiple of n
days since the start of the start of the era
Weeks(u32)
The next multiple of n
week since the start of the start of the era
Monday
Every Monday
Tuesday
Every Tuesday
Wednesday
Every Wednesday
Thursday
Every Thursday
Friday
Every Friday
Saturday
Every Saturday
Sunday
Every Sunday
Weekday
Every weekday (Monday through Friday)
Trait Implementations
impl Copy for Interval
impl Eq for Interval
impl StructuralEq for Interval
impl StructuralPartialEq for Interval
Auto Trait Implementations
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more