pub struct CronSchedule {
pub minutes: BTreeSet<u8>,
pub hours: BTreeSet<u8>,
pub days_of_month: BTreeSet<u8>,
pub months: BTreeSet<u8>,
pub days_of_week: BTreeSet<u8>,
}Expand description
Minimal five-field cron schedule: minute hour day-of-month month day-of-week.
Fields§
§minutes: BTreeSet<u8>minutes field for minutes.
hours: BTreeSet<u8>hours field for hours.
days_of_month: BTreeSet<u8>days_of_month field for days of month.
months: BTreeSet<u8>months field for months.
days_of_week: BTreeSet<u8>Sunday = 0, matching common five-field cron and JavaScript Date#getDay.
Trait Implementations§
Source§impl Clone for CronSchedule
impl Clone for CronSchedule
Source§fn clone(&self) -> CronSchedule
fn clone(&self) -> CronSchedule
Returns a duplicate 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 moreSource§impl Debug for CronSchedule
impl Debug for CronSchedule
Source§impl PartialEq for CronSchedule
impl PartialEq for CronSchedule
impl Eq for CronSchedule
impl StructuralPartialEq for CronSchedule
Auto Trait Implementations§
impl Freeze for CronSchedule
impl RefUnwindSafe for CronSchedule
impl Send for CronSchedule
impl Sync for CronSchedule
impl Unpin for CronSchedule
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.