pub struct AbsoluteTime(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for AbsoluteTime
impl Clone for AbsoluteTime
source§fn clone(&self) -> AbsoluteTime
fn clone(&self) -> AbsoluteTime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AbsoluteTime
impl Debug for AbsoluteTime
source§impl Default for AbsoluteTime
impl Default for AbsoluteTime
source§fn default() -> AbsoluteTime
fn default() -> AbsoluteTime
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AbsoluteTime
impl<'de> Deserialize<'de> for AbsoluteTime
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
source§impl From<AbsoluteTime> for SystemTime
impl From<AbsoluteTime> for SystemTime
source§fn from(value: AbsoluteTime) -> Self
fn from(value: AbsoluteTime) -> Self
Converts to this type from the input type.
source§impl Ord for AbsoluteTime
impl Ord for AbsoluteTime
source§fn cmp(&self, other: &AbsoluteTime) -> Ordering
fn cmp(&self, other: &AbsoluteTime) -> Ordering
1.21.0 · 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 AbsoluteTime
impl PartialEq for AbsoluteTime
source§fn eq(&self, other: &AbsoluteTime) -> bool
fn eq(&self, other: &AbsoluteTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AbsoluteTime
impl PartialOrd for AbsoluteTime
source§fn partial_cmp(&self, other: &AbsoluteTime) -> Option<Ordering>
fn partial_cmp(&self, other: &AbsoluteTime) -> Option<Ordering>
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 moresource§impl Serialize for AbsoluteTime
impl Serialize for AbsoluteTime
source§impl Sub for AbsoluteTime
impl Sub for AbsoluteTime
source§impl TryFrom<SystemTime> for AbsoluteTime
impl TryFrom<SystemTime> for AbsoluteTime
impl Copy for AbsoluteTime
impl Eq for AbsoluteTime
impl StructuralPartialEq for AbsoluteTime
Auto Trait Implementations§
impl Freeze for AbsoluteTime
impl RefUnwindSafe for AbsoluteTime
impl Send for AbsoluteTime
impl Sync for AbsoluteTime
impl Unpin for AbsoluteTime
impl UnwindSafe for AbsoluteTime
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.