pub struct UnixSeconds(/* private fields */);Trait Implementations§
Source§impl Clone for UnixSeconds
impl Clone for UnixSeconds
Source§fn clone(&self) -> UnixSeconds
fn clone(&self) -> UnixSeconds
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnixSeconds
impl Debug for UnixSeconds
Source§impl Default for UnixSeconds
impl Default for UnixSeconds
Source§fn default() -> UnixSeconds
fn default() -> UnixSeconds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnixSeconds
impl<'de> Deserialize<'de> for UnixSeconds
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<UnixSeconds> for DateTime<Utc>
impl From<UnixSeconds> for DateTime<Utc>
Source§fn from(value: UnixSeconds) -> Self
fn from(value: UnixSeconds) -> Self
Converts to this type from the input type.
Source§impl Hash for UnixSeconds
impl Hash for UnixSeconds
Source§impl Ord for UnixSeconds
impl Ord for UnixSeconds
Source§fn cmp(&self, other: &UnixSeconds) -> Ordering
fn cmp(&self, other: &UnixSeconds) -> Ordering
1.21.0 · 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
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
Source§impl TryFrom<i64> for UnixSeconds
impl TryFrom<i64> for UnixSeconds
impl Copy for UnixSeconds
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more