[][src]Struct google_identitytoolkit3::VerifyCustomTokenResponse

pub struct VerifyCustomTokenResponse {
    pub expires_in: Option<String>,
    pub id_token: Option<String>,
    pub is_new_user: Option<bool>,
    pub refresh_token: Option<String>,
    pub kind: Option<String>,
}

Response from verifying a custom token

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

expires_in: Option<String>

If idToken is STS id token, then this field will be expiration time of STS id token in seconds.

id_token: Option<String>

The GITKit token for authenticated user.

is_new_user: Option<bool>

True if it's a new user sign-in, false if it's a returning user.

refresh_token: Option<String>

If idToken is STS id token, then this field will be refresh token.

kind: Option<String>

The fixed string "identitytoolkit#VerifyCustomTokenResponse".

Trait Implementations

impl Clone for VerifyCustomTokenResponse[src]

impl Debug for VerifyCustomTokenResponse[src]

impl Default for VerifyCustomTokenResponse[src]

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

impl ResponseResult for VerifyCustomTokenResponse[src]

impl Serialize for VerifyCustomTokenResponse[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> 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.

impl<T> Typeable for T where
    T: Any