Struct fractal_api::v1::types::ClientInfo
[−]
[src]
pub struct ClientInfo { // some fields omitted }
Information about the API client.
Methods
impl ClientInfo
[src]
fn get_id(&self) -> &str
Gets the client ID.
fn get_secret(&self) -> &str
Gets the client secret.
fn scopes(&self) -> Iter<Scope>
Gets an iterator through the scopes valid for the client.
fn get_request_limit(&self) -> usize
Gets the request limit for the client.
Trait Implementations
impl Clone for ClientInfo
[src]
fn clone(&self) -> ClientInfo
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 Debug for ClientInfo
[src]
impl FromDTO<ClientInfoDTO> for ClientInfo
[src]
fn from_dto(dto: ClientInfoDTO) -> StdResult<ClientInfo, FromDTOError>
the from dto wrapper