pub struct LeapSecond {
pub timestamp: i32,
pub leap_second_count: i32,
}
Expand description
A leap second specification.
Fields§
§timestamp: i32
Unix timestamp at which a leap second occurs.
leap_second_count: i32
Number of leap seconds to be added.
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 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
)