Struct fractal_dto::v1::oauth::AccessTokenDTO[][src]

pub struct AccessTokenDTO {
    pub app_id: String,
    pub scopes: String,
    pub access_token: String,
    pub token_type: TokenTypeDTO,
    pub expiration: i64,
}

AccessToken Data type object

Fields

The app id

The permissions of the access token

The access token

The access tokken type (currently only configured for bearer)

The expiration time of the token

Trait Implementations

impl Debug for AccessTokenDTO
[src]

Formats the value using the given formatter. Read more

impl Clone for AccessTokenDTO
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for AccessTokenDTO
[src]

Deserialize a value using a Decoder.

impl Encodable for AccessTokenDTO
[src]

Serialize a value using an Encoder.

impl DTO for AccessTokenDTO
[src]

Auto Trait Implementations