pub struct MonotonicTimestamp {
pub nanos_since_run_start: u64,
}Fields§
§nanos_since_run_start: u64Trait Implementations§
Source§impl Clone for MonotonicTimestamp
impl Clone for MonotonicTimestamp
Source§fn clone(&self) -> MonotonicTimestamp
fn clone(&self) -> MonotonicTimestamp
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 MonotonicTimestamp
Source§impl Debug for MonotonicTimestamp
impl Debug for MonotonicTimestamp
Source§impl<'de> Deserialize<'de> for MonotonicTimestamp
impl<'de> Deserialize<'de> for MonotonicTimestamp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MonotonicTimestamp
Source§impl Ord for MonotonicTimestamp
impl Ord for MonotonicTimestamp
Source§fn cmp(&self, other: &MonotonicTimestamp) -> Ordering
fn cmp(&self, other: &MonotonicTimestamp) -> 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 MonotonicTimestamp
impl PartialEq for MonotonicTimestamp
Source§impl PartialOrd for MonotonicTimestamp
impl PartialOrd for MonotonicTimestamp
Source§impl Serialize for MonotonicTimestamp
impl Serialize for MonotonicTimestamp
impl StructuralPartialEq for MonotonicTimestamp
Auto Trait Implementations§
impl Freeze for MonotonicTimestamp
impl RefUnwindSafe for MonotonicTimestamp
impl Send for MonotonicTimestamp
impl Sync for MonotonicTimestamp
impl Unpin for MonotonicTimestamp
impl UnsafeUnpin for MonotonicTimestamp
impl UnwindSafe for MonotonicTimestamp
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