[][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]

impl Debug for COSEKey[src]

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

impl Serialize for COSEKey[src]

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

type Error = WebauthnError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for COSEKey

impl Send for COSEKey

impl Sync for COSEKey

impl Unpin for COSEKey

impl UnwindSafe for COSEKey

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.