pub enum Abbrev {
Fixed {
offset: i32,
dst: bool,
},
Zone(String),
}Expand description
One line of a timezone_abbreviations file.
Variants§
Fixed
A fixed offset east of UTC in seconds, and whether it is daylight saving time.
Zone(String)
The name of a zone, for an abbreviation whose offset changed over time.
Trait Implementations§
impl Eq for Abbrev
impl StructuralPartialEq for Abbrev
Auto Trait Implementations§
impl Freeze for Abbrev
impl RefUnwindSafe for Abbrev
impl Send for Abbrev
impl Sync for Abbrev
impl Unpin for Abbrev
impl UnsafeUnpin for Abbrev
impl UnwindSafe for Abbrev
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