pub struct WallClockTimestamp(/* private fields */);Expand description
An absolute Unix wall-clock timestamp in whole seconds.
Implementations§
Trait Implementations§
Source§impl Clone for WallClockTimestamp
impl Clone for WallClockTimestamp
Source§fn clone(&self) -> WallClockTimestamp
fn clone(&self) -> WallClockTimestamp
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 WallClockTimestamp
Source§impl Debug for WallClockTimestamp
impl Debug for WallClockTimestamp
impl Eq for WallClockTimestamp
Source§impl Ord for WallClockTimestamp
impl Ord for WallClockTimestamp
Source§fn cmp(&self, other: &WallClockTimestamp) -> Ordering
fn cmp(&self, other: &WallClockTimestamp) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WallClockTimestamp
impl PartialEq for WallClockTimestamp
Source§impl PartialOrd for WallClockTimestamp
impl PartialOrd for WallClockTimestamp
impl StructuralPartialEq for WallClockTimestamp
Auto Trait Implementations§
impl Freeze for WallClockTimestamp
impl RefUnwindSafe for WallClockTimestamp
impl Send for WallClockTimestamp
impl Sync for WallClockTimestamp
impl Unpin for WallClockTimestamp
impl UnsafeUnpin for WallClockTimestamp
impl UnwindSafe for WallClockTimestamp
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