Struct linux_api::time::timezone [] [src]

pub struct timezone {
    pub tz_minuteswest: c_int,
    pub tz_dsttime: c_int,
}

A structure containing information on the time-based location of a timezone

Please note that this does not include the name or country code, only the minutes west of Greenwich and the type of DST correction

Fields

tz_minuteswest: c_int

The number of minutes west of Greenwich

tz_dsttime: c_int

The type of Daylight Savings Time correction

Trait Implementations

impl Copy for timezone
[src]

impl Clone for timezone
[src]

fn clone(&self) -> timezone

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 Debug for timezone
[src]

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

Formats the value using the given formatter.