[][src]Struct jsonwebkey_convert::Generic

pub struct Generic {
    pub kty: KeyType,
    pub use_: Option<KeyUse>,
    pub key_ops: Option<Vec<String>>,
    pub alg: Option<String>,
    pub kid: Option<String>,
    pub x5u: Option<String>,
    pub x5c: Option<Vec<String>>,
    pub x5t: Option<String>,
    pub x5t_s256: Option<String>,
}

Generic parameters for JSON Web Key. See RFC 7517, Section 4.

Fields

kty: KeyTypeuse_: Option<KeyUse>key_ops: Option<Vec<String>>alg: Option<String>kid: Option<String>x5u: Option<String>x5c: Option<Vec<String>>x5t: Option<String>x5t_s256: Option<String>

Trait Implementations

impl Clone for Generic[src]

impl Debug for Generic[src]

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

impl PartialEq<Generic> for Generic[src]

impl Serialize for Generic[src]

impl StructuralPartialEq for Generic[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.