pub enum SpectreKeyPurpose {
Authentication,
Identification,
Recovery,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SpectreKeyPurpose
impl Clone for SpectreKeyPurpose
Source§fn clone(&self) -> SpectreKeyPurpose
fn clone(&self) -> SpectreKeyPurpose
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpectreKeyPurpose
impl Debug for SpectreKeyPurpose
Source§impl<'de> Deserialize<'de> for SpectreKeyPurpose
impl<'de> Deserialize<'de> for SpectreKeyPurpose
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
Source§impl FromStr for SpectreKeyPurpose
impl FromStr for SpectreKeyPurpose
Source§impl PartialEq for SpectreKeyPurpose
impl PartialEq for SpectreKeyPurpose
Source§impl Serialize for SpectreKeyPurpose
impl Serialize for SpectreKeyPurpose
impl Copy for SpectreKeyPurpose
impl Eq for SpectreKeyPurpose
impl StructuralPartialEq for SpectreKeyPurpose
Auto Trait Implementations§
impl Freeze for SpectreKeyPurpose
impl RefUnwindSafe for SpectreKeyPurpose
impl Send for SpectreKeyPurpose
impl Sync for SpectreKeyPurpose
impl Unpin for SpectreKeyPurpose
impl UnwindSafe for SpectreKeyPurpose
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