Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

ArchivedDateTime

#[repr(C)]
pub struct ArchivedDateTime
where Date: Archive, Time: Archive,
{ pub date: <Date as Archive>::Archived, pub time: <Time as Archive>::Archived, }
Expand description

An archived DateTime

Fields

date: <Date as Archive>::Archived

The archived counterpart of DateTime::date

time: <Time as Archive>::Archived

The archived counterpart of DateTime::time

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDateTime
where Date: Archive, Time: Archive, <__C as Fallible>::Error: Trace, <Date as Archive>::Archived: CheckBytes<__C>, <Time as Archive>::Archived: CheckBytes<__C>,

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedDateTime
where Date: Archive, Time: Archive, <Date as Archive>::Archived: Portable, <Time as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedDateTime

impl RefUnwindSafe for ArchivedDateTime

impl Send for ArchivedDateTime

impl Sync for ArchivedDateTime

impl Unpin for ArchivedDateTime

impl UnsafeUnpin for ArchivedDateTime

impl UnwindSafe for ArchivedDateTime