pub struct UnixMicroseconds(/* private fields */);Trait Implementations§
Source§impl Clone for UnixMicroseconds
impl Clone for UnixMicroseconds
Source§fn clone(&self) -> UnixMicroseconds
fn clone(&self) -> UnixMicroseconds
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 UnixMicroseconds
impl Debug for UnixMicroseconds
Source§impl Default for UnixMicroseconds
impl Default for UnixMicroseconds
Source§fn default() -> UnixMicroseconds
fn default() -> UnixMicroseconds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnixMicroseconds
impl<'de> Deserialize<'de> for UnixMicroseconds
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<UnixMicroseconds> for DateTime<Utc>
impl From<UnixMicroseconds> for DateTime<Utc>
Source§fn from(value: UnixMicroseconds) -> Self
fn from(value: UnixMicroseconds) -> Self
Converts to this type from the input type.
Source§impl Hash for UnixMicroseconds
impl Hash for UnixMicroseconds
Source§impl Ord for UnixMicroseconds
impl Ord for UnixMicroseconds
Source§fn cmp(&self, other: &UnixMicroseconds) -> Ordering
fn cmp(&self, other: &UnixMicroseconds) -> 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 UnixMicroseconds
impl PartialEq for UnixMicroseconds
Source§impl PartialOrd for UnixMicroseconds
impl PartialOrd for UnixMicroseconds
Source§impl Serialize for UnixMicroseconds
impl Serialize for UnixMicroseconds
Source§impl TryFrom<i64> for UnixMicroseconds
impl TryFrom<i64> for UnixMicroseconds
impl Copy for UnixMicroseconds
impl Eq for UnixMicroseconds
impl StructuralPartialEq for UnixMicroseconds
Auto Trait Implementations§
impl Freeze for UnixMicroseconds
impl RefUnwindSafe for UnixMicroseconds
impl Send for UnixMicroseconds
impl Sync for UnixMicroseconds
impl Unpin for UnixMicroseconds
impl UnwindSafe for UnixMicroseconds
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