Struct fractal_dto::v1::oauth::ClientInfoDTO
[−]
[src]
pub struct ClientInfoDTO { pub id: String, pub name: String, pub secret: String, pub scopes: Vec<ScopeDTO>, pub request_limit: Option<usize>, }
Struct with the developer client information
Fields
id: String
The ID of the client
name: String
The name of the client
secret: String
The secret of the client
scopes: Vec<ScopeDTO>
The scopes of the client
request_limit: Option<usize>
The request limit of the client
Trait Implementations
impl Clone for ClientInfoDTO
[src]
fn clone(&self) -> ClientInfoDTO
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 Encodable for ClientInfoDTO
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for ClientInfoDTO
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ClientInfoDTO, __D::Error>
Deserialize a value using a Decoder
.