Struct
ArchivedDate
#[repr(C)]pub struct ArchivedDatewhere
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>::ArchivedThe archived counterpart of Date::year
month: <u16 as Archive>::ArchivedThe archived counterpart of Date::month
day: <u16 as Archive>::ArchivedThe archived counterpart of Date::day
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDatewhere
u16: Archive,
<__C as Fallible>::Error: Trace,
<u16 as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDatewhere
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>
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