Struct crontab::ScheduleComponents [] [src]

pub struct ScheduleComponents {
    pub minutes: Vec<u32>,
    pub hours: Vec<u32>,
    pub days: Vec<u32>,
    pub months: Vec<u32>,
    pub weekdays: Vec<u32>,
    pub seconds: Vec<u32>,
}

The components of a crontab schedule. The values in each field are guaranteed to be both unique and ordered.

Fields

Minutes in the schedule. Range [0,59] inclusive.

Hours in the schedule. Range [0,23] inclusive.

Days of the month in the schedule. Range [1,31] inclusive.

Months in the schedule. Range [1,12] inclusive.

Days of the week in the schedule. Range [0,6] inclusive.

Deprecated since 0.2.0

: Field is never set!

Seconds in the schedule. Not yet in use. Do not use.

Trait Implementations

impl Clone for ScheduleComponents
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ScheduleComponents
[src]

[src]

Formats the value using the given formatter.

impl Default for ScheduleComponents
[src]

[src]

Returns the "default value" for a type. Read more