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
app_id: String
The app id
scopes: String
The permissions of the access token
access_token: String
The access token
token_type: TokenTypeDTO
The access tokken type (currently only configured for bearer)
expiration: i64
The expiration time of the token
Trait Implementations
impl Debug for AccessTokenDTO[src]
impl Clone for AccessTokenDTO[src]
fn clone(&self) -> AccessTokenDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Decodable for AccessTokenDTO[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AccessTokenDTO, __D::Error>
Deserialize a value using a Decoder.
impl Encodable for AccessTokenDTO[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.