pub struct SetArchived {
pub index: usize,
pub archived: bool,
}Expand description
Set the archived state of a security key. Archived keys are automatically set to live=false. Restoring from archive sets live=true.
Fields§
§index: usize§archived: boolTrait Implementations§
Source§impl BlockingScalar for SetArchived
impl BlockingScalar for SetArchived
Source§impl Debug for SetArchived
impl Debug for SetArchived
Source§impl FromScalar<2> for SetArchived
impl FromScalar<2> for SetArchived
fn from_scalar([a, b]: [u32; 2]) -> Self
Auto Trait Implementations§
impl Freeze for SetArchived
impl RefUnwindSafe for SetArchived
impl Send for SetArchived
impl Sync for SetArchived
impl Unpin for SetArchived
impl UnwindSafe for SetArchived
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
Source§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
Source§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§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.