[][src]Struct paypal_rs::AccessToken

pub struct AccessToken {
    pub scope: String,
    pub access_token: String,
    pub token_type: String,
    pub app_id: String,
    pub expires_in: u64,
    pub nonce: String,
}

Represents the access token returned by the OAuth2 authentication.

https://developer.paypal.com/docs/api/get-an-access-token-postman/

Fields

scope: String

The OAuth2 scopes.

access_token: String

The access token.

token_type: String

The token type.

app_id: String

The app id.

expires_in: u64

Seconds until it expires.

nonce: String

The nonce.

Trait Implementations

impl Debug for AccessToken[src]

impl<'de> Deserialize<'de> for AccessToken[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, 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.