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

Trait Implementations

impl<'a> PartialEq for Rule<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for Rule<'a>
[src]

Formats the value using the given formatter.

impl<'a> Copy for Rule<'a>
[src]

impl<'a> Clone for Rule<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more