[][src]Enum graph_oauth::jwt::JwtType

pub enum JwtType {
    JWS,
    JWE,
}

Enum for the type of JSON web token (JWT).

Variants

JWS
JWE

Trait Implementations

impl AsRef<str> for JwtType[src]

impl Clone for JwtType[src]

impl Copy for JwtType[src]

impl Debug for JwtType[src]

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

impl Eq for JwtType[src]

impl FromStr for JwtType[src]

type Err = ()

The associated error which can be returned from parsing.

impl PartialEq<JwtType> for JwtType[src]

impl Serialize for JwtType[src]

impl StructuralEq for JwtType[src]

impl StructuralPartialEq for JwtType[src]

impl TryFrom<usize> for JwtType[src]

type Error = GraphFailure

The type returned in the event of a conversion error.

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.