[][src]Struct zoho_crm::TokenRecord

pub struct TokenRecord {
    pub access_token: Option<String>,
    pub api_domain: Option<String>,
    pub error: Option<String>,
    pub expires_in_sec: Option<u64>,
    pub expires_in: Option<u64>,
    pub token_type: Option<String>,
}

Wrapper around a token sent back from the Zoho service.

Unless you are saving and/or retrieving a token from somewhere other than Zoho (such as a database), you usually will not need to use this.

Fields

access_token: Option<String>api_domain: Option<String>error: Option<String>expires_in_sec: Option<u64>expires_in: Option<u64>token_type: Option<String>

Trait Implementations

impl Debug for TokenRecord[src]

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err