Struct ctap_types::ctap2::AuthenticatorData
source · [−]pub struct AuthenticatorData<A, E> {
pub rp_id_hash: Bytes<32>,
pub flags: AuthenticatorDataFlags,
pub sign_count: u32,
pub attested_credential_data: Option<A>,
pub extensions: Option<E>,
}Fields
rp_id_hash: Bytes<32>flags: AuthenticatorDataFlagssign_count: u32attested_credential_data: Option<A>extensions: Option<E>Implementations
sourceimpl<A: SerializeAttestedCredentialData, E: Serialize> AuthenticatorData<A, E>
impl<A: SerializeAttestedCredentialData, E: Serialize> AuthenticatorData<A, E>
pub fn serialize(&self) -> SerializedAuthenticatorData
Trait Implementations
sourceimpl<A: Clone, E: Clone> Clone for AuthenticatorData<A, E>
impl<A: Clone, E: Clone> Clone for AuthenticatorData<A, E>
sourcefn clone(&self) -> AuthenticatorData<A, E>
fn clone(&self) -> AuthenticatorData<A, E>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<A: Debug, E: Debug> Debug for AuthenticatorData<A, E>
impl<A: Debug, E: Debug> Debug for AuthenticatorData<A, E>
sourceimpl<A: PartialEq, E: PartialEq> PartialEq<AuthenticatorData<A, E>> for AuthenticatorData<A, E>
impl<A: PartialEq, E: PartialEq> PartialEq<AuthenticatorData<A, E>> for AuthenticatorData<A, E>
sourcefn eq(&self, other: &AuthenticatorData<A, E>) -> bool
fn eq(&self, other: &AuthenticatorData<A, E>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AuthenticatorData<A, E>) -> bool
fn ne(&self, other: &AuthenticatorData<A, E>) -> bool
This method tests for !=.
impl<A: Eq, E: Eq> Eq for AuthenticatorData<A, E>
impl<A, E> StructuralEq for AuthenticatorData<A, E>
impl<A, E> StructuralPartialEq for AuthenticatorData<A, E>
Auto Trait Implementations
impl<A, E> RefUnwindSafe for AuthenticatorData<A, E> where
A: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, E> Send for AuthenticatorData<A, E> where
A: Send,
E: Send,
impl<A, E> Sync for AuthenticatorData<A, E> where
A: Sync,
E: Sync,
impl<A, E> Unpin for AuthenticatorData<A, E> where
A: Unpin,
E: Unpin,
impl<A, E> UnwindSafe for AuthenticatorData<A, E> where
A: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more