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

Struct

ArchivedDate

#[repr(C)]
pub struct ArchivedDate
where u16: Archive,
{ pub year: <u16 as Archive>::Archived, pub month: <u16 as Archive>::Archived, pub day: <u16 as Archive>::Archived, }
Expand description

An archived Date

Fields

year: <u16 as Archive>::Archived

The archived counterpart of Date::year

month: <u16 as Archive>::Archived

The archived counterpart of Date::month

day: <u16 as Archive>::Archived

The archived counterpart of Date::day

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDate
where u16: Archive, <__C as Fallible>::Error: Trace, <u16 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 ArchivedDate
where u16: Archive, <u16 as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedDate

impl RefUnwindSafe for ArchivedDate

impl Send for ArchivedDate

impl Sync for ArchivedDate

impl Unpin for ArchivedDate

impl UnsafeUnpin for ArchivedDate

impl UnwindSafe for ArchivedDate