pub struct CronPatterns;Expand description
Common cron schedule patterns.
Implementations§
Source§impl CronPatterns
impl CronPatterns
Sourcepub fn every_minute() -> &'static str
pub fn every_minute() -> &'static str
Every minute.
Sourcepub fn every_5_minutes() -> &'static str
pub fn every_5_minutes() -> &'static str
Every 5 minutes.
Sourcepub fn every_15_minutes() -> &'static str
pub fn every_15_minutes() -> &'static str
Every 15 minutes.
Sourcepub fn every_30_minutes() -> &'static str
pub fn every_30_minutes() -> &'static str
Every 30 minutes.
Sourcepub fn every_hour() -> &'static str
pub fn every_hour() -> &'static str
Every hour.
Sourcepub fn daily_at_noon() -> &'static str
pub fn daily_at_noon() -> &'static str
Every day at noon.
Sourcepub fn weekdays_at_9am() -> &'static str
pub fn weekdays_at_9am() -> &'static str
Weekdays only at 9 AM.
Sourcepub fn weekends_at_10am() -> &'static str
pub fn weekends_at_10am() -> &'static str
Weekends only at 10 AM.
Auto Trait Implementations§
impl Freeze for CronPatterns
impl RefUnwindSafe for CronPatterns
impl Send for CronPatterns
impl Sync for CronPatterns
impl Unpin for CronPatterns
impl UnsafeUnpin for CronPatterns
impl UnwindSafe for CronPatterns
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