Struct fractal_dto::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 Encodable for AccessTokenDTO
[src]
impl Decodable for AccessTokenDTO
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AccessTokenDTO, __D::Error>
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