Struct tz::internals::TZData [] [src]

pub struct TZData {
    pub header: Header,
    pub transitions: Vec<TransitionData>,
    pub time_info: Vec<LocalTimeTypeData>,
    pub leap_seconds: Vec<LeapSecondData>,
    pub strings: Vec<u8>,
    pub standard_flags: Vec<u8>,
    pub gmt_flags: Vec<u8>,
}

The internal structure of a zoneinfo file.

Fields

header: Header transitions: Vec<TransitionData> time_info: Vec<LocalTimeTypeData> leap_seconds: Vec<LeapSecondData> strings: Vec<u8> standard_flags: Vec<u8> gmt_flags: Vec<u8>

Trait Implementations

impl Clone for TZData
[src]

fn clone(&self) -> TZData

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

impl Eq for TZData
[src]

impl PartialEq for TZData
[src]

fn eq(&self, __arg_0: &TZData) -> bool

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

fn ne(&self, __arg_0: &TZData) -> bool

This method tests for !=.

impl Debug for TZData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.