pub struct Abbreviation {
pub name: &'static str,
pub dst: bool,
pub gmtoffset: i32,
pub full_tz_name: Option<&'static str>,
}Expand description
A row of timelib’s abbreviation tables.
Fields§
§name: &'static strThe abbreviation, lowercase (est).
dst: boolWhether it names daylight saving time.
gmtoffset: i32The UTC offset in seconds.
full_tz_name: Option<&'static str>The zone identifier it maps to, if any (America/New_York).
Trait Implementations§
Source§impl Clone for Abbreviation
impl Clone for Abbreviation
impl Copy for Abbreviation
Source§impl Debug for Abbreviation
impl Debug for Abbreviation
impl Eq for Abbreviation
Source§impl PartialEq for Abbreviation
impl PartialEq for Abbreviation
impl StructuralPartialEq for Abbreviation
Auto Trait Implementations§
impl Forget for Abbreviation
impl Freeze for Abbreviation
impl Move for Abbreviation
impl RefUnwindSafe for Abbreviation
impl Send for Abbreviation
impl Sync for Abbreviation
impl Unpin for Abbreviation
impl UnsafeUnpin for Abbreviation
impl UnwindSafe for Abbreviation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.