Expand description
The time component in a Stat struct.
Fields§
§secs: u32The amount of seconds elapsed since EPOCH
nsecs: u32The amount of nanoseconds elapsed in the current second, ranging from 0 to 999.999.999 .
Trait Implementations§
source§impl<'de> Deserialize<'de> for Time
 
impl<'de> Deserialize<'de> for Time
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<SystemTime> for Time
 
impl From<SystemTime> for Time
source§fn from(s: SystemTime) -> Self
 
fn from(s: SystemTime) -> Self
Converts to this type from the input type.
source§impl From<Time> for SystemTime
 
impl From<Time> for SystemTime
source§impl Ord for Time
 
impl Ord for Time
source§impl PartialEq<Time> for Time
 
impl PartialEq<Time> for Time
source§impl PartialOrd<Time> for Time
 
impl PartialOrd<Time> for Time
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 Time
impl Eq for Time
impl StructuralEq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more