pub struct UnixTime(/* private fields */);
Expand description
A timestamp, tracking the number of non-leap seconds since the Unix epoch.
The Unix epoch is defined January 1, 1970 00:00:00 UTC.
Implementations§
Trait Implementations§
source§impl Ord for UnixTime
impl Ord for UnixTime
source§impl PartialOrd for UnixTime
impl PartialOrd for UnixTime
impl Copy for UnixTime
impl Eq for UnixTime
impl StructuralPartialEq for UnixTime
Auto Trait Implementations§
impl Freeze for UnixTime
impl RefUnwindSafe for UnixTime
impl Send for UnixTime
impl Sync for UnixTime
impl Unpin for UnixTime
impl UnwindSafe for UnixTime
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
)