pub struct NanoTimestamp(/* private fields */);Implementations§
Trait Implementations§
Source§impl AsRef<Option<NaiveDateTime>> for NanoTimestamp
impl AsRef<Option<NaiveDateTime>> for NanoTimestamp
Source§fn as_ref(&self) -> &Option<NaiveDateTime>
fn as_ref(&self) -> &Option<NaiveDateTime>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NanoTimestamp
impl Clone for NanoTimestamp
Source§fn clone(&self) -> NanoTimestamp
fn clone(&self) -> NanoTimestamp
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 NanoTimestamp
impl Debug for NanoTimestamp
Source§impl Default for NanoTimestamp
impl Default for NanoTimestamp
Source§fn default() -> NanoTimestamp
fn default() -> NanoTimestamp
Returns the “default value” for a type. Read more
Source§impl Display for NanoTimestamp
impl Display for NanoTimestamp
Source§impl From<NaiveDateTime> for NanoTimestamp
impl From<NaiveDateTime> for NanoTimestamp
Source§fn from(value: NaiveDateTime) -> Self
fn from(value: NaiveDateTime) -> Self
Converts to this type from the input type.
Source§impl From<NanoTimestamp> for Any
impl From<NanoTimestamp> for Any
Source§fn from(value: NanoTimestamp) -> Self
fn from(value: NanoTimestamp) -> Self
Converts to this type from the input type.
Source§impl From<NanoTimestamp> for ConstantImpl
impl From<NanoTimestamp> for ConstantImpl
Source§fn from(value: NanoTimestamp) -> Self
fn from(value: NanoTimestamp) -> Self
Converts to this type from the input type.
Source§impl From<NanoTimestamp> for ScalarImpl
impl From<NanoTimestamp> for ScalarImpl
Source§fn from(value: NanoTimestamp) -> Self
fn from(value: NanoTimestamp) -> Self
Converts to this type from the input type.
Source§impl Hash for NanoTimestamp
impl Hash for NanoTimestamp
Source§impl Ord for NanoTimestamp
impl Ord for NanoTimestamp
Source§fn cmp(&self, other: &NanoTimestamp) -> Ordering
fn cmp(&self, other: &NanoTimestamp) -> 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 NanoTimestamp
impl PartialEq for NanoTimestamp
Source§impl PartialOrd for NanoTimestamp
impl PartialOrd for NanoTimestamp
Source§impl Scalar for NanoTimestamp
impl Scalar for NanoTimestamp
Source§impl TryFrom<Any> for NanoTimestamp
impl TryFrom<Any> for NanoTimestamp
Source§impl TryFrom<ConstantImpl> for NanoTimestamp
impl TryFrom<ConstantImpl> for NanoTimestamp
Source§impl TryFrom<NanoTimestamp> for NaiveDateTime
impl TryFrom<NanoTimestamp> for NaiveDateTime
Source§impl TryFrom<ScalarImpl> for NanoTimestamp
impl TryFrom<ScalarImpl> for NanoTimestamp
impl Copy for NanoTimestamp
impl Eq for NanoTimestamp
impl NotDecimal for NanoTimestamp
impl StructuralPartialEq for NanoTimestamp
Auto Trait Implementations§
impl Freeze for NanoTimestamp
impl RefUnwindSafe for NanoTimestamp
impl Send for NanoTimestamp
impl Sync for NanoTimestamp
impl Unpin for NanoTimestamp
impl UnwindSafe for NanoTimestamp
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