pub enum AttestationFormat {
Packed,
Tpm,
AndroidKey,
AndroidSafetyNet,
FIDOU2F,
AppleAnonymous,
None,
}Expand description
The type of attestation on the credential
Variants§
Packed
Packed attestation
Tpm
TPM attestation (like Micrsoft)
AndroidKey
Android hardware attestation
AndroidSafetyNet
Older Android Safety Net
FIDOU2F
Old U2F attestation type
AppleAnonymous
Apple touchID/faceID
None
No attestation
Trait Implementations§
source§impl Clone for AttestationFormat
impl Clone for AttestationFormat
source§fn clone(&self) -> AttestationFormat
fn clone(&self) -> AttestationFormat
Returns a copy 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 AttestationFormat
impl Debug for AttestationFormat
source§impl<'de> Deserialize<'de> for AttestationFormat
impl<'de> Deserialize<'de> for AttestationFormat
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 Hash for AttestationFormat
impl Hash for AttestationFormat
source§impl PartialEq for AttestationFormat
impl PartialEq for AttestationFormat
source§fn eq(&self, other: &AttestationFormat) -> bool
fn eq(&self, other: &AttestationFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AttestationFormat
impl Serialize for AttestationFormat
source§impl TryFrom<&str> for AttestationFormat
impl TryFrom<&str> for AttestationFormat
§type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
impl Eq for AttestationFormat
impl StructuralEq for AttestationFormat
impl StructuralPartialEq for AttestationFormat
Auto Trait Implementations§
impl RefUnwindSafe for AttestationFormat
impl Send for AttestationFormat
impl Sync for AttestationFormat
impl Unpin for AttestationFormat
impl UnwindSafe for AttestationFormat
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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