Struct gcp_sa::GoogleAccessToken[][src]

pub struct GoogleAccessToken {
    pub access_token: String,
    pub scope: Option<String>,
    pub token_type: GoogleAccessTokenType,
    pub expires_in: u64,
}

Representation of Google Access Token JSON

Fields

access_token: String

The base64 encoded String containing the token

scope: Option<String>

The OAuth scope that the token carries

token_type: GoogleAccessTokenType

Type of the token.

expires_in: u64

Expiration date of the token

Trait Implementations

impl Debug for GoogleAccessToken[src]

impl<'de> Deserialize<'de> for GoogleAccessToken[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> Instrument 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>,