pub struct TimeVal {
pub tv_sec: time_t,
pub tv_usec: suseconds_t,
}
Fields§
§tv_sec: time_t
§tv_usec: suseconds_t
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TimeVal
impl<'de> Deserialize<'de> for TimeVal
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 Ord for TimeVal
impl Ord for TimeVal
source§impl PartialEq for TimeVal
impl PartialEq for TimeVal
source§impl PartialOrd for TimeVal
impl PartialOrd for TimeVal
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 TryFrom<SystemTime> for TimeVal
impl TryFrom<SystemTime> for TimeVal
§type Error = SystemTimeError
type Error = SystemTimeError
The type returned in the event of a conversion error.
source§impl TryInto<SystemTime> for TimeVal
impl TryInto<SystemTime> for TimeVal
impl Copy for TimeVal
impl Eq for TimeVal
impl StructuralPartialEq for TimeVal
Auto Trait Implementations§
impl Freeze for TimeVal
impl RefUnwindSafe for TimeVal
impl Send for TimeVal
impl Sync for TimeVal
impl Unpin for TimeVal
impl UnwindSafe for TimeVal
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