[][src]Struct webauthn_rs::proto::Credential

pub struct Credential {
    pub cred_id: CredentialID,
    pub cred: COSEKey,
    pub counter: u32,
}

A user's authenticator credential. It contains an id, the public key and a counter of how many times the authenticator has been used.

Fields

cred_id: CredentialID

The ID of this credential.

cred: COSEKey

The public key of this credential

counter: u32

The counter for this credential

Trait Implementations

impl Clone for Credential[src]

impl Debug for Credential[src]

impl<'de> Deserialize<'de> for Credential[src]

impl PartialEq<Credential> for Credential[src]

impl Serialize for Credential[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.