pub struct BasicAuthentication {
pub http_authentication: HttpAuthentication,
pub username: Option<String>,
pub password: Option<String>,
}
Fields§
§http_authentication: HttpAuthentication
§username: Option<String>
Gets or sets the username.
password: Option<String>
Gets or sets the password.
Implementations§
Trait Implementations§
source§impl Clone for BasicAuthentication
impl Clone for BasicAuthentication
source§fn clone(&self) -> BasicAuthentication
fn clone(&self) -> BasicAuthentication
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BasicAuthentication
impl Debug for BasicAuthentication
source§impl Default for BasicAuthentication
impl Default for BasicAuthentication
source§fn default() -> BasicAuthentication
fn default() -> BasicAuthentication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BasicAuthentication
impl<'de> Deserialize<'de> for BasicAuthentication
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BasicAuthentication> for BasicAuthentication
impl PartialEq<BasicAuthentication> for BasicAuthentication
source§fn eq(&self, other: &BasicAuthentication) -> bool
fn eq(&self, other: &BasicAuthentication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.