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]
fn clone(&self) -> CreateClientDTO
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 CreateClientDTO[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Decodable for CreateClientDTO[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CreateClientDTO, __D::Error>
Deserialize a value using a Decoder.