pub struct LocalTimeType {
pub utoff: i32,
pub is_dst: bool,
pub abbr: String,
}Expand description
One local-time-type (ttinfo): a UT offset, a DST flag, and an abbreviation.
Fields§
§utoff: i32Seconds east of UT (the tt_utoff field).
is_dst: boolWhether this type is daylight saving time.
abbr: StringThe timezone abbreviation (e.g. EST). May be empty (the v1 stub uses "").
Trait Implementations§
Source§impl Clone for LocalTimeType
impl Clone for LocalTimeType
Source§fn clone(&self) -> LocalTimeType
fn clone(&self) -> LocalTimeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalTimeType
impl Debug for LocalTimeType
impl Eq for LocalTimeType
Source§impl PartialEq for LocalTimeType
impl PartialEq for LocalTimeType
Source§fn eq(&self, other: &LocalTimeType) -> bool
fn eq(&self, other: &LocalTimeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalTimeType
Auto Trait Implementations§
impl Freeze for LocalTimeType
impl RefUnwindSafe for LocalTimeType
impl Send for LocalTimeType
impl Sync for LocalTimeType
impl Unpin for LocalTimeType
impl UnsafeUnpin for LocalTimeType
impl UnwindSafe for LocalTimeType
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