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
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
This method tests for !=
.
impl<'a> Debug for Rule<'a>
[src]
impl<'a> Copy for Rule<'a>
[src]
impl<'a> Clone for Rule<'a>
[src]
fn clone(&self) -> Rule<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more