Struct kanidm_proto::oauth2::AccessTokenResponse[][src]

pub struct AccessTokenResponse {
    pub access_token: String,
    pub token_type: String,
    pub expires_in: u32,
    pub refresh_token: Option<String>,
    pub scope: Option<String>,
}

Fields

access_token: Stringtoken_type: Stringexpires_in: u32refresh_token: Option<String>scope: Option<String>

Space seperated list of scopes that were approved, if this differs from the original request.

Trait Implementations

impl Debug for AccessTokenResponse[src]

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

impl Serialize for AccessTokenResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for AccessTokenResponse

impl Send for AccessTokenResponse

impl Sync for AccessTokenResponse

impl Unpin for AccessTokenResponse

impl UnwindSafe for AccessTokenResponse

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> From<T> for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

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