pub enum FixPreset {
NotRun,
Once,
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
}Variants§
NotRun
The task does not need to run
Once
The task is run only once
Hourly
The task runs every hour
Daily
The task runs every day
Weekly
The task runs one a week
Monthly
The task runs every month
Yearly
The task runs every year
Trait Implementations§
Source§impl TryFrom<FixPreset> for ScheduleExpr
impl TryFrom<FixPreset> for ScheduleExpr
impl Copy for FixPreset
impl StructuralPartialEq for FixPreset
Auto Trait Implementations§
impl Freeze for FixPreset
impl RefUnwindSafe for FixPreset
impl Send for FixPreset
impl Sync for FixPreset
impl Unpin for FixPreset
impl UnwindSafe for FixPreset
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