Struct fractal_dto::v1::oauth::CreateClientDTO [−][src]
pub struct CreateClientDTO { pub name: String, pub scopes: Vec<ScopeDTO>, pub request_limit: Option<usize>, }
Struct for creating a fractal developer
Fields
name: String
The name of the client
scopes: Vec<ScopeDTO>
The permissions the client has
request_limit: Option<usize>
Number of requests per hour that the client will be able to do
Trait Implementations
impl Clone for CreateClientDTO
[src]
impl Clone for CreateClientDTO
fn clone(&self) -> CreateClientDTO
[src]
fn clone(&self) -> CreateClientDTO
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 Encodable for CreateClientDTO
[src]
impl Encodable for CreateClientDTO
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 Decodable for CreateClientDTO
[src]
impl Decodable for CreateClientDTO
fn decode<__D: Decoder>(d: &mut __D) -> Result<CreateClientDTO, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<CreateClientDTO, __D::Error>
Deserialize a value using a Decoder
.
impl DTO for CreateClientDTO
[src]
impl DTO for CreateClientDTO
Auto Trait Implementations
impl Send for CreateClientDTO
impl Send for CreateClientDTO
impl Sync for CreateClientDTO
impl Sync for CreateClientDTO