pub struct DigestAuthenticationSchemeDefinition {
pub use_: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
}Expand description
Represents the definition of a digest 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 DigestAuthenticationSchemeDefinition
impl Clone for DigestAuthenticationSchemeDefinition
Source§fn clone(&self) -> DigestAuthenticationSchemeDefinition
fn clone(&self) -> DigestAuthenticationSchemeDefinition
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 DigestAuthenticationSchemeDefinition
impl Default for DigestAuthenticationSchemeDefinition
Source§fn default() -> DigestAuthenticationSchemeDefinition
fn default() -> DigestAuthenticationSchemeDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DigestAuthenticationSchemeDefinition
impl<'de> Deserialize<'de> for DigestAuthenticationSchemeDefinition
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 DigestAuthenticationSchemeDefinition
impl PartialEq for DigestAuthenticationSchemeDefinition
Source§fn eq(&self, other: &DigestAuthenticationSchemeDefinition) -> bool
fn eq(&self, other: &DigestAuthenticationSchemeDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DigestAuthenticationSchemeDefinition
impl StructuralPartialEq for DigestAuthenticationSchemeDefinition
Auto Trait Implementations§
impl Freeze for DigestAuthenticationSchemeDefinition
impl RefUnwindSafe for DigestAuthenticationSchemeDefinition
impl Send for DigestAuthenticationSchemeDefinition
impl Sync for DigestAuthenticationSchemeDefinition
impl Unpin for DigestAuthenticationSchemeDefinition
impl UnsafeUnpin for DigestAuthenticationSchemeDefinition
impl UnwindSafe for DigestAuthenticationSchemeDefinition
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