pub(super) struct LeapSecond {
unix_leap_time: i64,
correction: i32,
}
Expand description
Leap second of a TZif file
Fields§
§unix_leap_time: i64
Unix leap time
correction: i32
Leap second correction
Implementations§
source§impl LeapSecond
impl LeapSecond
Trait Implementations§
source§impl Clone for LeapSecond
impl Clone for LeapSecond
source§fn clone(&self) -> LeapSecond
fn clone(&self) -> LeapSecond
Returns a copy of the value. Read more
1.0.0 · 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 LeapSecond
impl Debug for LeapSecond
source§impl PartialEq for LeapSecond
impl PartialEq for LeapSecond
source§fn eq(&self, other: &LeapSecond) -> bool
fn eq(&self, other: &LeapSecond) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LeapSecond
impl Eq for LeapSecond
impl StructuralPartialEq for LeapSecond
Auto Trait Implementations§
impl Freeze for LeapSecond
impl RefUnwindSafe for LeapSecond
impl Send for LeapSecond
impl Sync for LeapSecond
impl Unpin for LeapSecond
impl UnwindSafe for LeapSecond
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