pub struct DiscoverableKey { /* private fields */ }Available on crate features
conditional-ui only.Expand description
A key that can be used in discoverable workflows. Within this library Passkeys may be discoverable on an opportunistic bases, and AttestedResidentKeys will always be discoverable.
Generally this is used as part of conditional ui which allows autofill of discovered credentials in username fields.
Trait Implementations§
Source§impl Clone for DiscoverableKey
impl Clone for DiscoverableKey
Source§fn clone(&self) -> DiscoverableKey
fn clone(&self) -> DiscoverableKey
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 DiscoverableKey
impl Debug for DiscoverableKey
Source§impl<'de> Deserialize<'de> for DiscoverableKey
impl<'de> Deserialize<'de> for DiscoverableKey
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 From<&AttestedPasskey> for DiscoverableKey
Available on crate features conditional-ui and attestation only.
impl From<&AttestedPasskey> for DiscoverableKey
Available on crate features
conditional-ui and attestation only.Source§fn from(k: &AttestedPasskey) -> Self
fn from(k: &AttestedPasskey) -> Self
Converts to this type from the input type.
Source§impl From<&AttestedResidentKey> for DiscoverableKey
Available on crate features conditional-ui and resident-key-support only.
impl From<&AttestedResidentKey> for DiscoverableKey
Available on crate features
conditional-ui and resident-key-support only.Source§fn from(k: &AttestedResidentKey) -> Self
fn from(k: &AttestedResidentKey) -> Self
Converts to this type from the input type.
Source§impl From<&Passkey> for DiscoverableKey
impl From<&Passkey> for DiscoverableKey
Source§impl From<AttestedPasskey> for DiscoverableKey
Available on crate features conditional-ui and attestation only.
impl From<AttestedPasskey> for DiscoverableKey
Available on crate features
conditional-ui and attestation only.Source§fn from(k: AttestedPasskey) -> Self
fn from(k: AttestedPasskey) -> Self
Converts to this type from the input type.
Source§impl From<AttestedResidentKey> for DiscoverableKey
Available on crate features conditional-ui and resident-key-support only.
impl From<AttestedResidentKey> for DiscoverableKey
Available on crate features
conditional-ui and resident-key-support only.Source§fn from(k: AttestedResidentKey) -> Self
fn from(k: AttestedResidentKey) -> Self
Converts to this type from the input type.
Source§impl From<Passkey> for DiscoverableKey
impl From<Passkey> for DiscoverableKey
Auto Trait Implementations§
impl Freeze for DiscoverableKey
impl RefUnwindSafe for DiscoverableKey
impl Send for DiscoverableKey
impl Sync for DiscoverableKey
impl Unpin for DiscoverableKey
impl UnwindSafe for DiscoverableKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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