#[repr(C)]pub struct ArchivedSecurityKeyView{
pub index: <usize as Archive>::Archived,
pub label: <String as Archive>::Archived,
pub color: <u8 as Archive>::Archived,
pub icon: <String as Archive>::Archived,
pub archived: <bool as Archive>::Archived,
pub live: <bool as Archive>::Archived,
pub date: <u64 as Archive>::Archived,
pub registered_count: <usize as Archive>::Archived,
}Expand description
An archived SecurityKeyView
Fields§
§index: <usize as Archive>::ArchivedThe archived counterpart of SecurityKeyView::index
label: <String as Archive>::ArchivedThe archived counterpart of SecurityKeyView::label
color: <u8 as Archive>::ArchivedThe archived counterpart of SecurityKeyView::color
icon: <String as Archive>::ArchivedThe archived counterpart of SecurityKeyView::icon
archived: <bool as Archive>::ArchivedThe archived counterpart of SecurityKeyView::archived
live: <bool as Archive>::ArchivedThe archived counterpart of SecurityKeyView::live
date: <u64 as Archive>::ArchivedThe archived counterpart of SecurityKeyView::date
registered_count: <usize as Archive>::ArchivedThe archived counterpart of SecurityKeyView::registered_count
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSecurityKeyViewwhere
usize: Archive,
String: Archive,
u8: Archive,
bool: Archive,
u64: Archive,
<__C as Fallible>::Error: Trace,
<usize as Archive>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
<u8 as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<u64 as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSecurityKeyViewwhere
usize: Archive,
String: Archive,
u8: Archive,
bool: Archive,
u64: Archive,
<__C as Fallible>::Error: Trace,
<usize as Archive>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
<u8 as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<u64 as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedSecurityKeyView
Auto Trait Implementations§
impl Freeze for ArchivedSecurityKeyView
impl RefUnwindSafe for ArchivedSecurityKeyView
impl Send for ArchivedSecurityKeyView
impl Sync for ArchivedSecurityKeyView
impl !Unpin for ArchivedSecurityKeyView
impl UnwindSafe for ArchivedSecurityKeyView
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.