#[repr(transparent)]pub struct Ts(pub u64);Expand description
A new type for formatting nanosecond UNIX timestamps.
Tuple Fields§
§0: u64Trait Implementations§
source§impl Ord for Ts
impl Ord for Ts
source§impl PartialOrd for Ts
impl PartialOrd for Ts
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Ts
impl Eq for Ts
impl StructuralEq for Ts
impl StructuralPartialEq for Ts
Auto Trait Implementations§
impl RefUnwindSafe for Ts
impl Send for Ts
impl Sync for Ts
impl Unpin for Ts
impl UnwindSafe for Ts
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