Struct sota::datatype::auth::ClientCredentials [] [src]

pub struct ClientCredentials {
    pub client_id: String,
    pub client_secret: String,
}

Encapsulates the client id and secret used during authentication.

Fields

client_id
client_secret

Trait Implementations

Derived Implementations

impl Decodable for ClientCredentials
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ClientCredentials, __D::Error>

Deserialize a value using a Decoder.

impl Encodable for ClientCredentials
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

Serialize a value using an Encoder.

impl Debug for ClientCredentials
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for ClientCredentials
[src]

impl PartialEq for ClientCredentials
[src]

fn eq(&self, __arg_0: &ClientCredentials) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ClientCredentials) -> bool

This method tests for !=.

impl Clone for ClientCredentials
[src]

fn clone(&self) -> ClientCredentials

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