pub struct AuthenticatorData<'a, A, E> {
pub rp_id_hash: &'a [u8; 32],
pub flags: AuthenticatorDataFlags,
pub sign_count: u32,
pub attested_credential_data: Option<A>,
pub extensions: Option<E>,
}Fields§
§rp_id_hash: &'a [u8; 32]§flags: AuthenticatorDataFlags§sign_count: u32§attested_credential_data: Option<A>§extensions: Option<E>Implementations§
Source§impl<A: SerializeAttestedCredentialData, E: Serialize> AuthenticatorData<'_, A, E>
impl<A: SerializeAttestedCredentialData, E: Serialize> AuthenticatorData<'_, A, E>
pub fn serialize(&self) -> Result<SerializedAuthenticatorData>
Trait Implementations§
Source§impl<'a, A: Clone, E: Clone> Clone for AuthenticatorData<'a, A, E>
impl<'a, A: Clone, E: Clone> Clone for AuthenticatorData<'a, A, E>
Source§fn clone(&self) -> AuthenticatorData<'a, A, E>
fn clone(&self) -> AuthenticatorData<'a, A, E>
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 moreimpl<'a, A: Eq, E: Eq> Eq for AuthenticatorData<'a, A, E>
impl<'a, A, E> StructuralPartialEq for AuthenticatorData<'a, A, E>
Auto Trait Implementations§
impl<'a, A, E> Freeze for AuthenticatorData<'a, A, E>
impl<'a, A, E> RefUnwindSafe for AuthenticatorData<'a, A, E>where
A: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, A, E> Send for AuthenticatorData<'a, A, E>
impl<'a, A, E> Sync for AuthenticatorData<'a, A, E>
impl<'a, A, E> Unpin for AuthenticatorData<'a, A, E>
impl<'a, A, E> UnwindSafe for AuthenticatorData<'a, A, E>where
A: UnwindSafe,
E: UnwindSafe,
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