pub struct UtcOffsetSeconds(pub i64);Expand description
UtcOffsetSeconds represents the amount of seconds we need to add to the UTC to reach the local time.
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for UtcOffsetSeconds
impl Clone for UtcOffsetSeconds
Source§fn clone(&self) -> UtcOffsetSeconds
fn clone(&self) -> UtcOffsetSeconds
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 moreimpl Copy for UtcOffsetSeconds
Source§impl Debug for UtcOffsetSeconds
impl Debug for UtcOffsetSeconds
Source§impl Default for UtcOffsetSeconds
impl Default for UtcOffsetSeconds
Source§fn default() -> UtcOffsetSeconds
fn default() -> UtcOffsetSeconds
Returns the “default value” for a type. Read more
impl Eq for UtcOffsetSeconds
Source§impl From<&TimeZoneVariantInfo> for UtcOffsetSeconds
Available on crate feature tzif only.
impl From<&TimeZoneVariantInfo> for UtcOffsetSeconds
Available on crate feature
tzif only.Source§fn from(value: &TimeZoneVariantInfo) -> UtcOffsetSeconds
fn from(value: &TimeZoneVariantInfo) -> UtcOffsetSeconds
Converts to this type from the input type.
Source§impl From<LocalTimeTypeRecord> for UtcOffsetSeconds
Available on crate feature tzif only.
impl From<LocalTimeTypeRecord> for UtcOffsetSeconds
Available on crate feature
tzif only.Source§fn from(value: LocalTimeTypeRecord) -> UtcOffsetSeconds
fn from(value: LocalTimeTypeRecord) -> UtcOffsetSeconds
Converts to this type from the input type.
Source§impl From<UtcOffset> for UtcOffsetSeconds
impl From<UtcOffset> for UtcOffsetSeconds
Source§impl From<UtcOffsetSeconds> for UtcOffset
impl From<UtcOffsetSeconds> for UtcOffset
Source§fn from(other: UtcOffsetSeconds) -> Self
fn from(other: UtcOffsetSeconds) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UtcOffsetSeconds
impl PartialEq for UtcOffsetSeconds
impl StructuralPartialEq for UtcOffsetSeconds
Auto Trait Implementations§
impl Freeze for UtcOffsetSeconds
impl RefUnwindSafe for UtcOffsetSeconds
impl Send for UtcOffsetSeconds
impl Sync for UtcOffsetSeconds
impl Unpin for UtcOffsetSeconds
impl UnsafeUnpin for UtcOffsetSeconds
impl UnwindSafe for UtcOffsetSeconds
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