pub struct CronSchedule { /* private fields */ }
Implementations§
Source§impl CronSchedule
impl CronSchedule
pub const fn add_minute(&mut self, minute: u64)
pub const fn add_minute_range(&mut self, e1: u64, e2: u64)
pub const fn add_minute_step(&mut self, step: u64)
pub const fn add_minute_range_step(&mut self, e1: u64, e2: u64, step: u64)
pub const fn add_hour(&mut self, hour: u64)
pub const fn add_hour_range(&mut self, e1: u64, e2: u64)
pub const fn add_hour_step(&mut self, step: u64)
pub const fn add_hour_range_step(&mut self, e1: u64, e2: u64, step: u64)
pub const fn add_day_of_month(&mut self, day_of_month: u64)
pub const fn add_day_of_month_range(&mut self, e1: u64, e2: u64)
pub const fn add_day_of_month_step(&mut self, step: u64)
pub const fn add_day_of_month_range_step(&mut self, e1: u64, e2: u64, step: u64)
pub const fn add_month(&mut self, month: u64)
pub const fn add_month_range(&mut self, e1: u64, e2: u64)
pub const fn add_month_step(&mut self, step: u64)
pub const fn add_month_range_step(&mut self, e1: u64, e2: u64, step: u64)
pub const fn add_day_of_week(&mut self, day_of_week: u64)
pub const fn add_day_of_week_range(&mut self, e1: u64, e2: u64)
pub const fn add_day_of_week_step(&mut self, step: u64)
pub const fn add_day_of_week_range_step(&mut self, e1: u64, e2: u64, step: u64)
pub const fn preset_every_minute() -> Self
pub const fn preset_every_1_minute() -> Self
pub const fn preset_every_2_minutes() -> Self
pub const fn preset_every_even_minute() -> Self
pub const fn preset_every_uneven_minute() -> Self
pub const fn preset_every_3_minutes() -> Self
pub const fn preset_every_4_minutes() -> Self
pub const fn preset_every_5_minutes() -> Self
pub const fn preset_every_five_minutes() -> Self
pub const fn preset_every_6_minutes() -> Self
pub const fn preset_every_10_minutes() -> Self
pub const fn preset_every_15_minutes() -> Self
pub const fn preset_every_fifteen_minutes() -> Self
pub const fn preset_every_ten_minutes() -> Self
pub const fn preset_every_quarter_hour() -> Self
pub const fn preset_every_20_minutes() -> Self
pub const fn preset_every_30_minutes() -> Self
pub const fn preset_every_hour_at_30_minutes() -> Self
pub const fn preset_every_half_hour() -> Self
pub const fn preset_every_60_minutes() -> Self
pub const fn preset_every_hour() -> Self
pub const fn preset_every_1_hour() -> Self
pub const fn preset_every_2_hours() -> Self
pub const fn preset_every_two_hours() -> Self
pub const fn preset_every_even_hour() -> Self
pub const fn preset_every_other_hour() -> Self
pub const fn preset_every_3_hours() -> Self
pub const fn preset_every_three_hours() -> Self
pub const fn preset_every_4_hours() -> Self
pub const fn preset_every_6_hours() -> Self
pub const fn preset_every_six_hours() -> Self
pub const fn preset_every_8_hours() -> Self
pub const fn preset_every_12_hours() -> Self
pub const fn preset_hour_range(start: u64, end: u64) -> Self
pub const fn preset_between_certain_hours(start: u64, end: u64) -> Self
pub const fn preset_every_day() -> Self
pub const fn preset_daily() -> Self
pub const fn preset_once_a_day() -> Self
pub const fn preset_every_night() -> Self
pub const fn preset_every_day_at_0100() -> Self
pub const fn preset_every_day_at_0200() -> Self
pub const fn preset_every_day_at_0800() -> Self
pub const fn preset_every_morning() -> Self
pub const fn preset_every_midnight() -> Self
pub const fn preset_every_day_at_midnight() -> Self
pub const fn preset_every_night_at_midnight() -> Self
pub const fn preset_every_sunday() -> Self
pub const fn preset_every_monday() -> Self
pub const fn preset_every_tuesday() -> Self
pub const fn preset_every_wednesday() -> Self
pub const fn preset_every_thursday() -> Self
pub const fn preset_every_friday() -> Self
pub const fn preset_every_friday_at_midnight() -> Self
pub const fn preset_every_saturday() -> Self
pub const fn preset_every_weekday() -> Self
pub const fn preset_weekdays_only() -> Self
pub const fn preset_monday_to_friday() -> Self
pub const fn preset_every_weekend() -> Self
pub const fn preset_weekends_only() -> Self
pub const fn preset_every_7_days() -> Self
pub const fn preset_every_week() -> Self
pub const fn preset_weekly() -> Self
pub const fn preset_once_a_week() -> Self
pub const fn preset_every_month() -> Self
pub const fn preset_monthly() -> Self
pub const fn preset_once_a_month() -> Self
pub const fn preset_every_other_month() -> Self
pub const fn preset_every_quarter() -> Self
pub const fn preset_every_6_months() -> Self
pub const fn preset_every_year() -> Self
Trait Implementations§
Source§impl Clone for CronSchedule
impl Clone for CronSchedule
Source§fn clone(&self) -> CronSchedule
fn clone(&self) -> CronSchedule
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CronSchedule
impl RefUnwindSafe for CronSchedule
impl Send for CronSchedule
impl Sync for CronSchedule
impl Unpin for CronSchedule
impl UnwindSafe for CronSchedule
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