pub struct TimeStamp(/* private fields */);Expand description
A UTC time, second precision.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeStamp
impl<'de> Deserialize<'de> for TimeStamp
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TimeStamp
Source§impl Ord for TimeStamp
impl Ord for TimeStamp
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TimeStamp
impl PartialOrd for TimeStamp
impl StructuralPartialEq for TimeStamp
Auto Trait Implementations§
impl Forget for TimeStamp
impl Freeze for TimeStamp
impl Move for TimeStamp
impl RefUnwindSafe for TimeStamp
impl Send for TimeStampwhere
RawVecInner: Send,
impl Sync for TimeStampwhere
RawVecInner: Sync,
impl Unpin for TimeStamp
impl UnsafeUnpin for TimeStamp
impl UnwindSafe for TimeStampwhere
RawVecInner: UnwindSafe,
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