pub struct TimeInSec(pub u64);Tuple Fields§
§0: u64Trait Implementations§
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
Source§impl Ord for TimeInSec
impl Ord for TimeInSec
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 Copy for TimeInSec
impl Eq for TimeInSec
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 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