[−][src]Struct sunrise_libtimezone::TimeTypeInfo
Represent a TimeZone type info.
This is used to store rules information in a time range.
Fields
gmt_offset: i32
The GMT offset of the time type info.
is_dst: bool
True if the time type info represent a Day Saving Time.
abbreviation_list_index: i32
The index inside the TimeZoneRule char array of the abbrevation c string representing this time type info.
is_std: bool
True if this represent a Standard Time Daylight.
is_gmt: bool
True if this represent a GMT time.
padding: [u8; 2]
Explicit padding.
Implementations
impl TimeTypeInfo
[src]
pub fn new(gmt_offset: i32, is_dst: bool, abbreviation_list_index: i32) -> Self
[src]
Create a new TimeTypeInfo.
Trait Implementations
impl Clone for TimeTypeInfo
[src]
fn clone(&self) -> TimeTypeInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TimeTypeInfo
[src]
impl Default for TimeTypeInfo
[src]
impl PartialEq<TimeTypeInfo> for TimeTypeInfo
[src]
fn eq(&self, other: &TimeTypeInfo) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,