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