pub struct LeapSecond {
pub when: i64,
pub correction: i32,
}Expand description
A leap-second record.
Fields§
§when: i64Unix timestamp of the leap second.
correction: i32Cumulative correction in seconds.
Trait Implementations§
Source§impl Clone for LeapSecond
impl Clone for LeapSecond
Source§fn clone(&self) -> LeapSecond
fn clone(&self) -> LeapSecond
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 LeapSecond
Source§impl Debug for LeapSecond
impl Debug for LeapSecond
impl Eq for LeapSecond
Source§impl PartialEq for LeapSecond
impl PartialEq for LeapSecond
Source§fn eq(&self, other: &LeapSecond) -> bool
fn eq(&self, other: &LeapSecond) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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