pub enum PublicKeyCredentialHints {
SecurityKey,
ClientDevice,
Hybrid,
}Expand description
A hint as to the class of device that is expected to fufil this operation.
https://www.w3.org/TR/webauthn-3/#enumdef-publickeycredentialhints
Variants§
SecurityKey
The credential is a removable security key
ClientDevice
The credential is a platform authenticator
Hybrid
The credential will come from an external device
Trait Implementations§
Source§impl Clone for PublicKeyCredentialHints
impl Clone for PublicKeyCredentialHints
Source§fn clone(&self) -> PublicKeyCredentialHints
fn clone(&self) -> PublicKeyCredentialHints
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 PublicKeyCredentialHints
impl Debug for PublicKeyCredentialHints
Source§impl<'de> Deserialize<'de> for PublicKeyCredentialHints
impl<'de> Deserialize<'de> for PublicKeyCredentialHints
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PublicKeyCredentialHints, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PublicKeyCredentialHints, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PublicKeyCredentialHints
impl PartialEq for PublicKeyCredentialHints
Source§impl Serialize for PublicKeyCredentialHints
impl Serialize for PublicKeyCredentialHints
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PublicKeyCredentialHints
impl StructuralPartialEq for PublicKeyCredentialHints
Auto Trait Implementations§
impl Freeze for PublicKeyCredentialHints
impl RefUnwindSafe for PublicKeyCredentialHints
impl Send for PublicKeyCredentialHints
impl Sync for PublicKeyCredentialHints
impl Unpin for PublicKeyCredentialHints
impl UnwindSafe for PublicKeyCredentialHints
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