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

Struct

ArchivedTime

#[repr(C)]
pub struct ArchivedTime
where u16: Archive,
{ pub hour: <u16 as Archive>::Archived, pub min: <u16 as Archive>::Archived, pub sec: <u16 as Archive>::Archived, pub millis: <u16 as Archive>::Archived, }
Expand description

An archived Time

Fields

hour: <u16 as Archive>::Archived

The archived counterpart of Time::hour

min: <u16 as Archive>::Archived

The archived counterpart of Time::min

sec: <u16 as Archive>::Archived

The archived counterpart of Time::sec

millis: <u16 as Archive>::Archived

The archived counterpart of Time::millis

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedTime

impl RefUnwindSafe for ArchivedTime

impl Send for ArchivedTime

impl Sync for ArchivedTime

impl Unpin for ArchivedTime

impl UnsafeUnpin for ArchivedTime

impl UnwindSafe for ArchivedTime