Struct sota::datatype::config::AuthConfig
[−]
[src]
pub struct AuthConfig { pub server: Url, pub client_id: String, pub client_secret: String, }
The [auth] configuration section.
Fields
server | |
client_id | |
client_secret |
Trait Implementations
impl Default for AuthConfig
[src]
Derived Implementations
impl Clone for AuthConfig
[src]
fn clone(&self) -> AuthConfig
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 AuthConfig
[src]
impl Eq for AuthConfig
[src]
impl PartialEq for AuthConfig
[src]
fn eq(&self, __arg_0: &AuthConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthConfig) -> bool
This method tests for !=
.
impl Decodable for AuthConfig
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AuthConfig, __D::Error>
Deserialize a value using a Decoder
.