Struct openid::StandardClaims[][src]

pub struct StandardClaims {
    pub iss: Url,
    pub sub: String,
    pub aud: SingleOrMultiple<String>,
    pub exp: i64,
    pub iat: i64,
    pub auth_time: Option<i64>,
    pub nonce: Option<String>,
    pub acr: Option<String>,
    pub amr: Option<Vec<String>>,
    pub azp: Option<String>,
    pub userinfo: Userinfo,
    // some fields omitted
}

ID Token contents. See spec.

Fields

iss: Urlsub: Stringaud: SingleOrMultiple<String>exp: i64iat: i64auth_time: Option<i64>nonce: Option<String>acr: Option<String>amr: Option<Vec<String>>azp: Option<String>userinfo: Userinfo

Trait Implementations

impl Claims for StandardClaims[src]

impl Clone for StandardClaims[src]

impl CompactJson for StandardClaims[src]

impl Debug for StandardClaims[src]

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

impl Eq for StandardClaims[src]

impl PartialEq<StandardClaims> for StandardClaims[src]

impl Serialize for StandardClaims[src]

impl StructuralEq for StandardClaims[src]

impl StructuralPartialEq for StandardClaims[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> CompactPart for T where
    T: CompactJson
[src]

pub fn to_bytes(&self) -> Result<Vec<u8, Global>, Error>[src]

JSON serialize the part and return the JSON string bytes

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, 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.