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