pub enum DayOfWeek {
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
}Expand description
A day of the week, using cron’s numeric convention where Sunday is 0 and Saturday is 6.
Variants§
Trait Implementations§
impl Copy for DayOfWeek
impl Eq for DayOfWeek
Source§impl IntoCronValue for DayOfWeek
impl IntoCronValue for DayOfWeek
Source§fn into_cron_value(self) -> String
fn into_cron_value(self) -> String
Render the value as a cron-field string (e.g.
"37", "*/10", "15,30,45").impl StructuralPartialEq for DayOfWeek
Auto Trait Implementations§
impl Forget for DayOfWeek
impl Freeze for DayOfWeek
impl Move for DayOfWeek
impl RefUnwindSafe for DayOfWeek
impl Send for DayOfWeek
impl Sync for DayOfWeek
impl Unpin for DayOfWeek
impl UnsafeUnpin for DayOfWeek
impl UnwindSafe for DayOfWeek
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