[][src]Struct sunrise_libtimezone::CalendarAdditionalInfo

#[repr(C, align(8))]pub struct CalendarAdditionalInfo {
    pub day_of_week: u32,
    pub day_of_year: u32,
    pub timezone_name: [u8; 8],
    pub is_dst: bool,
    pub gmt_offset: i32,
}

Represent the aditional information attached to a local time.

Fields

day_of_week: u32

The day of the week of the local time.

day_of_year: u32

The day of the year of the local time.

timezone_name: [u8; 8]

The name of the timezone of the local time.

is_dst: bool

True if the local time represent a Day Saving Time.

gmt_offset: i32

The GMT offset of the timezone used to generate this local time.

Trait Implementations

impl Clone for CalendarAdditionalInfo[src]

impl Copy for CalendarAdditionalInfo[src]

impl Debug for CalendarAdditionalInfo[src]

impl Default for CalendarAdditionalInfo[src]

Auto Trait Implementations

impl Send for CalendarAdditionalInfo

impl Sync for CalendarAdditionalInfo

impl Unpin for CalendarAdditionalInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.