pub enum PinReference {
UserPin,
ResettingCode,
AdminPin,
}Expand description
PIN reference identifiers per OpenPGP card spec.
Variants§
Trait Implementations§
Source§impl Clone for PinReference
impl Clone for PinReference
Source§fn clone(&self) -> PinReference
fn clone(&self) -> PinReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PinReference
Source§impl Debug for PinReference
impl Debug for PinReference
Source§impl<'de> Deserialize<'de> for PinReference
impl<'de> Deserialize<'de> for PinReference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PinReference
Source§impl PartialEq for PinReference
impl PartialEq for PinReference
Source§fn eq(&self, other: &PinReference) -> bool
fn eq(&self, other: &PinReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PinReference
impl Serialize for PinReference
impl StructuralPartialEq for PinReference
Auto Trait Implementations§
impl Freeze for PinReference
impl RefUnwindSafe for PinReference
impl Send for PinReference
impl Sync for PinReference
impl Unpin for PinReference
impl UnsafeUnpin for PinReference
impl UnwindSafe for PinReference
Blanket Implementations§
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