Struct parse_zoneinfo::line::Rule
[−]
[src]
pub struct Rule<'a> { pub name: &'a str, pub from_year: Year, pub to_year: Option<Year>, pub month: Month, pub day: DaySpec, pub time: TimeSpecAndType, pub time_to_add: TimeSpec, pub letters: Option<&'a str>, }
Fields
name: &'a str
from_year: Year
to_year: Option<Year>
month: Month
day: DaySpec
time: TimeSpecAndType
time_to_add: TimeSpec
letters: Option<&'a str>
Trait Implementations
impl<'a> PartialEq for Rule<'a>
[src]
fn eq(&self, __arg_0: &Rule<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rule<'a>) -> bool
[src]
This method tests for !=
.