Struct tz::LocalTimeType [] [src]

pub struct LocalTimeType {
    pub name: String,
    pub offset: i32,
    pub is_dst: bool,
    pub transition_type: TransitionType,
}

A description of the local time in a particular timezone, during the period in which the clocks do not change.

Fields

name: String

The time zone abbreviation - such as "GMT" or "UTC".

offset: i32

Number of seconds to be added to Universal Time.

is_dst: bool

Whether to set DST.

transition_type: TransitionType

The current 'type' of time.

Trait Implementations

impl Clone for LocalTimeType
[src]

fn clone(&self) -> LocalTimeType

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

impl PartialEq for LocalTimeType
[src]

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

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

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

This method tests for !=.

impl Debug for LocalTimeType
[src]

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

Formats the value using the given formatter.