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 Debug for AccessTokenDTO
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AccessTokenDTO
[src]
impl Clone for AccessTokenDTO
fn clone(&self) -> AccessTokenDTO
[src]
fn clone(&self) -> AccessTokenDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Decodable for AccessTokenDTO
[src]
impl Decodable for AccessTokenDTO
fn decode<__D: Decoder>(d: &mut __D) -> Result<AccessTokenDTO, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<AccessTokenDTO, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for AccessTokenDTO
[src]
impl Encodable for AccessTokenDTO
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl DTO for AccessTokenDTO
[src]
impl DTO for AccessTokenDTO
Auto Trait Implementations
impl Send for AccessTokenDTO
impl Send for AccessTokenDTO
impl Sync for AccessTokenDTO
impl Sync for AccessTokenDTO