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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)