pub enum ZoneName {
Fixed(i32),
Dynamic(Option<Arc<dyn TimeZone + Send + Sync>>),
Zone(Arc<dyn TimeZone + Send + Sync>),
}Expand description
What DecodeTimezoneName makes of the name of a zone.
Variants§
Fixed(i32)
An abbreviation with one offset, in seconds east of UTC.
Dynamic(Option<Arc<dyn TimeZone + Send + Sync>>)
An abbreviation whose offset changed over time, and its zone. None is the zone of the session.
Zone(Arc<dyn TimeZone + Send + Sync>)
A zone of the data.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ZoneName
impl !UnwindSafe for ZoneName
impl Freeze for ZoneName
impl Send for ZoneName
impl Sync for ZoneName
impl Unpin for ZoneName
impl UnsafeUnpin for ZoneName
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