pub struct LeapSec {
pub ntp_timestamp: i64,
pub leap_sec_after: i64,
pub utc_sec: i64,
pub tai_sec: i64,
}Expand description
Holds info about a leap-second transition. Used by LEAP_SECS.
Fields§
§ntp_timestamp: i64NTP timestamp of the transition (IANA file, column 1)
leap_sec_after: i64Cumulative TAI-UTC offset in seconds after this transition (IANA column 2)
utc_sec: i64Library timestamp of the transition on the UTC scale
tai_sec: i64Library timestamp of the transition on the TAI scale
Trait Implementations§
impl Copy for LeapSec
Source§impl PartialOrd for LeapSec
impl PartialOrd for LeapSec
impl StructuralPartialEq for LeapSec
Auto Trait Implementations§
impl Freeze for LeapSec
impl RefUnwindSafe for LeapSec
impl Send for LeapSec
impl Sync for LeapSec
impl Unpin for LeapSec
impl UnsafeUnpin for LeapSec
impl UnwindSafe for LeapSec
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