pub struct ZoneType {
pub abbrev: &'static str,
pub offset: i32,
pub is_dst: bool,
}Expand description
Describes a local time type (e.g. EST, EDT).
Fields§
§abbrev: &'static strAbbreviated name.
offset: i32Seconds east of UTC.
is_dst: boolTrue if this is a daylight-saving time type.
Trait Implementations§
impl Copy for ZoneType
impl Eq for ZoneType
impl StructuralPartialEq for ZoneType
Auto Trait Implementations§
impl Freeze for ZoneType
impl RefUnwindSafe for ZoneType
impl Send for ZoneType
impl Sync for ZoneType
impl Unpin for ZoneType
impl UnsafeUnpin for ZoneType
impl UnwindSafe for ZoneType
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