pub struct Calendar {
pub second: Vec<Range>,
pub minute: Vec<Range>,
pub hour: Vec<Range>,
pub day_of_month: Vec<Range>,
pub month: Vec<Range>,
pub day_of_week: Vec<Range>,
}Expand description
A structured calendar, one list of ranges per field.
This is what the server actually stores. Creating a schedule with --cron "0 2 * * *"
leaves cron_string empty and fills this in instead, so a list that reads only the cron
string reports every cron schedule as having no timetable at all.
Fields§
§second: Vec<Range>§minute: Vec<Range>§hour: Vec<Range>§day_of_month: Vec<Range>§month: Vec<Range>§day_of_week: Vec<Range>Trait Implementations§
impl Eq for Calendar
impl StructuralPartialEq for Calendar
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin for Calendar
impl UnsafeUnpin for Calendar
impl UnwindSafe for Calendar
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