pub struct CronJobOptions {
pub id: Option<String>,
pub schedule: String,
pub action: CronAction,
pub overlap: Option<CronOverlap>,
}Expand description
Options for schedule_cron.
Fields§
§id: Option<String>Default: a fresh UUID.
schedule: String5/6/7-field cron expression OR an ISO-8601 one-shot timestamp.
action: CronAction§overlap: Option<CronOverlap>Default: CronOverlap::Allow.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CronJobOptions
impl !UnwindSafe for CronJobOptions
impl Freeze for CronJobOptions
impl Send for CronJobOptions
impl Sync for CronJobOptions
impl Unpin for CronJobOptions
impl UnsafeUnpin for CronJobOptions
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