pub struct TimeInSec(pub u64);Tuple Fields§
§0: u64Trait Implementations§
impl Copy for TimeInSec
Source§impl<'de> Deserialize<'de> for TimeInSec
impl<'de> Deserialize<'de> for TimeInSec
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 TimeInSec
Source§impl Ord for TimeInSec
impl Ord for TimeInSec
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 TimeInSec
impl PartialOrd for TimeInSec
Source§impl Storable for TimeInSec
impl Storable for TimeInSec
Source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
Source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl StructuralPartialEq for TimeInSec
Auto Trait Implementations§
impl Freeze for TimeInSec
impl RefUnwindSafe for TimeInSec
impl Send for TimeInSec
impl Sync for TimeInSec
impl Unpin for TimeInSec
impl UnsafeUnpin for TimeInSec
impl UnwindSafe for TimeInSec
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