Struct chrono::rkyv::ArchivedNaiveDateTime
source · pub struct ArchivedNaiveDateTime{ /* private fields */ }
Available on crate features
rkyv
or rkyv-16
or rkyv-32
or rkyv-64
only.Expand description
An archived NaiveDateTime
Trait Implementations§
source§impl Clone for ArchivedNaiveDateTime
impl Clone for ArchivedNaiveDateTime
source§fn clone(&self) -> ArchivedNaiveDateTime
fn clone(&self) -> ArchivedNaiveDateTime
Returns a copy 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 ArchivedNaiveDateTime
impl Debug for ArchivedNaiveDateTime
source§impl Hash for ArchivedNaiveDateTime
impl Hash for ArchivedNaiveDateTime
source§impl Ord for ArchivedNaiveDateTime
impl Ord for ArchivedNaiveDateTime
source§fn cmp(&self, other: &ArchivedNaiveDateTime) -> Ordering
fn cmp(&self, other: &ArchivedNaiveDateTime) -> 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<ArchivedNaiveDateTime> for NaiveDateTime
impl PartialEq<ArchivedNaiveDateTime> for NaiveDateTime
source§fn eq(&self, other: &ArchivedNaiveDateTime) -> bool
fn eq(&self, other: &ArchivedNaiveDateTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<NaiveDateTime> for ArchivedNaiveDateTime
impl PartialEq<NaiveDateTime> for ArchivedNaiveDateTime
source§fn eq(&self, other: &NaiveDateTime) -> bool
fn eq(&self, other: &NaiveDateTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for ArchivedNaiveDateTime
impl PartialEq for ArchivedNaiveDateTime
source§fn eq(&self, other: &ArchivedNaiveDateTime) -> bool
fn eq(&self, other: &ArchivedNaiveDateTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ArchivedNaiveDateTime> for NaiveDateTime
impl PartialOrd<ArchivedNaiveDateTime> for NaiveDateTime
source§fn partial_cmp(&self, other: &ArchivedNaiveDateTime) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedNaiveDateTime) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<NaiveDateTime> for ArchivedNaiveDateTime
impl PartialOrd<NaiveDateTime> for ArchivedNaiveDateTime
source§fn partial_cmp(&self, other: &NaiveDateTime) -> Option<Ordering>
fn partial_cmp(&self, other: &NaiveDateTime) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd for ArchivedNaiveDateTime
impl PartialOrd for ArchivedNaiveDateTime
source§fn partial_cmp(&self, other: &ArchivedNaiveDateTime) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedNaiveDateTime) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ArchivedNaiveDateTime
impl Eq for ArchivedNaiveDateTime
impl StructuralPartialEq for ArchivedNaiveDateTime
Auto Trait Implementations§
impl Freeze for ArchivedNaiveDateTime
impl RefUnwindSafe for ArchivedNaiveDateTime
impl Send for ArchivedNaiveDateTime
impl Sync for ArchivedNaiveDateTime
impl Unpin for ArchivedNaiveDateTime
impl UnwindSafe for ArchivedNaiveDateTime
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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