Struct dnsimple::dnsimple::oauth::AccessToken [−][src]
pub struct AccessToken {
pub access_token: String,
pub account_id: u64,
pub scope: Option<String>,
pub token_type: String,
}
Expand description
Represents an access token containing the token to access the API
Fields
access_token: String
The token you can use to authenticate.
account_id: u64
The account ID in DNSimple this token belongs to.
scope: Option<String>
The token scope (not used for now).
token_type: String
The token type.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more