Struct cronparse::schedule::Calendar
[−]
[src]
pub struct Calendar { pub mins: Minutes, pub hrs: Hours, pub days: Days, pub mons: Months, pub dows: DaysOfWeek, }
Fields
mins: Minutes
hrs: Hours
days: Days
mons: Months
dows: DaysOfWeek
Methods
impl Calendar
[src]
fn from_iter<'a, I>(parts: I) -> Result<Calendar, CalendarParseError> where I: Iterator<Item=&'a str>
Trait Implementations
impl PartialEq for Calendar
[src]
fn eq(&self, __arg_0: &Calendar) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Calendar) -> bool
This method tests for !=
.
impl Debug for Calendar
[src]
impl Display for Calendar
[src]
impl FromStr for Calendar
[src]
type Err = CalendarParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Calendar, CalendarParseError>
Parses a string s
to return a value of this type. Read more