Struct cron::Schedule[][src]

pub struct Schedule { /* fields omitted */ }

Methods

impl Schedule
[src]

Provides an iterator which will return each DateTime that matches the schedule starting with the current time if applicable.

Like the upcoming method, but allows you to specify a start time other than the present.

Returns a TimeUnitSpec describing the years included in this Schedule.

Returns a TimeUnitSpec describing the months of the year included in this Schedule.

Returns a TimeUnitSpec describing the days of the month included in this Schedule.

Returns a TimeUnitSpec describing the days of the week included in this Schedule.

Returns a TimeUnitSpec describing the hours of the day included in this Schedule.

Returns a TimeUnitSpec describing the minutes of the hour included in this Schedule.

Returns a TimeUnitSpec describing the seconds of the minute included in this Schedule.

Trait Implementations

impl FromStr for Schedule
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Schedule

impl Sync for Schedule