Struct tz::internals::LocalTimeTypeData [] [src]

pub struct LocalTimeTypeData {
    pub offset: i32,
    pub is_dst: u8,
    pub name_offset: u8,
}

Fields

offset: i32

Number of seconds to be added to Universal Time. (Equivalent to tt_gmtoff in C)

is_dst: u8

Whether to set DST. (Equivalent to tt_isdst in C)

name_offset: u8

Position in the array of time zone abbreviation characters, elsewhere in the file. (Equivalent to tt_abbrind in C)

Trait Implementations

impl Clone for LocalTimeTypeData
[src]

fn clone(&self) -> LocalTimeTypeData

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 LocalTimeTypeData
[src]

impl PartialEq for LocalTimeTypeData
[src]

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

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

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

This method tests for !=.

impl Debug for LocalTimeTypeData
[src]

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

Formats the value using the given formatter.