[][src]Struct webauthn_rs::crypto::COSEKey

pub struct COSEKey {
    pub type_: COSEContentType,
    pub key: COSEKeyType,
}

A COSE Key as provided by the Authenticator. You should never need to alter or change these values.

Fields

type_: COSEContentType

The type of key that this contains

key: COSEKeyType

The public key

Trait Implementations

impl Clone for COSEKey[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for COSEKey[src]

impl<'_> TryFrom<&'_ Value> for COSEKey[src]

type Error = WebauthnError

The type returned in the event of a conversion error.

impl Serialize for COSEKey[src]

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

Auto Trait Implementations

impl Send for COSEKey

impl Sync for COSEKey

Blanket Implementations

impl<T, U> Into 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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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