pub struct BasicAuthenticationSchemeDefinition {
pub use_: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
}Expand description
Represents the definition of a basic authentication scheme
Fields§
§use_: Option<String>Gets/sets the name of the secret, if any, used to configure the authentication scheme
username: Option<String>Gets/sets the username used for authentication
password: Option<String>Gets/sets the password used for authentication
Trait Implementations§
Source§impl Clone for BasicAuthenticationSchemeDefinition
impl Clone for BasicAuthenticationSchemeDefinition
Source§fn clone(&self) -> BasicAuthenticationSchemeDefinition
fn clone(&self) -> BasicAuthenticationSchemeDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BasicAuthenticationSchemeDefinition
impl Default for BasicAuthenticationSchemeDefinition
Source§fn default() -> BasicAuthenticationSchemeDefinition
fn default() -> BasicAuthenticationSchemeDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicAuthenticationSchemeDefinition
impl<'de> Deserialize<'de> for BasicAuthenticationSchemeDefinition
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 for BasicAuthenticationSchemeDefinition
impl PartialEq for BasicAuthenticationSchemeDefinition
Source§fn eq(&self, other: &BasicAuthenticationSchemeDefinition) -> bool
fn eq(&self, other: &BasicAuthenticationSchemeDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BasicAuthenticationSchemeDefinition
impl StructuralPartialEq for BasicAuthenticationSchemeDefinition
Auto Trait Implementations§
impl Freeze for BasicAuthenticationSchemeDefinition
impl RefUnwindSafe for BasicAuthenticationSchemeDefinition
impl Send for BasicAuthenticationSchemeDefinition
impl Sync for BasicAuthenticationSchemeDefinition
impl Unpin for BasicAuthenticationSchemeDefinition
impl UnsafeUnpin for BasicAuthenticationSchemeDefinition
impl UnwindSafe for BasicAuthenticationSchemeDefinition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more