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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.