[][src]Struct sunrise_libuser::time::CalendarAdditionalInfo

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

Represent aditional info of 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

tz_name: [u8; 8]

The name of the timezone of the local time

is_daylight_saving_time: 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]

Auto Trait Implementations

impl RefUnwindSafe for CalendarAdditionalInfo

impl Send for CalendarAdditionalInfo

impl Sync for CalendarAdditionalInfo

impl Unpin for CalendarAdditionalInfo

impl UnwindSafe 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> SizedIPCBuffer for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.