pub struct TimeOption(/* private fields */);Expand description
An option that represents seconds as a u32.
Implementations§
Trait Implementations§
Source§impl Clone for TimeOption
impl Clone for TimeOption
Source§fn clone(&self) -> TimeOption
fn clone(&self) -> TimeOption
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeOption
impl Debug for TimeOption
Source§impl<'de> Deserialize<'de> for TimeOption
impl<'de> Deserialize<'de> for TimeOption
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<&[u8]> for TimeOption
impl From<&[u8]> for TimeOption
Source§impl PartialEq for TimeOption
impl PartialEq for TimeOption
Source§impl Serialize for TimeOption
impl Serialize for TimeOption
impl StructuralPartialEq for TimeOption
Auto Trait Implementations§
impl Freeze for TimeOption
impl RefUnwindSafe for TimeOption
impl Send for TimeOption
impl Sync for TimeOption
impl Unpin for TimeOption
impl UnwindSafe for TimeOption
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