pub struct UnixSeconds(pub u64);Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for UnixSeconds
impl Clone for UnixSeconds
impl Copy for UnixSeconds
Source§impl Debug for UnixSeconds
impl Debug for UnixSeconds
Source§impl<'de> Deserialize<'de> for UnixSeconds
impl<'de> Deserialize<'de> for UnixSeconds
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 UnixSeconds
Source§impl Ord for UnixSeconds
impl Ord for UnixSeconds
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 PartialEq for UnixSeconds
impl PartialEq for UnixSeconds
Source§impl PartialOrd for UnixSeconds
impl PartialOrd for UnixSeconds
Source§impl Serialize for UnixSeconds
impl Serialize for UnixSeconds
impl StructuralPartialEq for UnixSeconds
Auto Trait Implementations§
impl Freeze for UnixSeconds
impl RefUnwindSafe for UnixSeconds
impl Send for UnixSeconds
impl Sync for UnixSeconds
impl Unpin for UnixSeconds
impl UnsafeUnpin for UnixSeconds
impl UnwindSafe for UnixSeconds
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