pub struct RuntimeComponentMonitoringEndpointsBasicAuth {
pub password: Option<RuntimeComponentMonitoringEndpointsBasicAuthPassword>,
pub username: Option<RuntimeComponentMonitoringEndpointsBasicAuthUsername>,
}Expand description
basicAuth configures the Basic Authentication credentials to use when
scraping the target.
Cannot be set at the same time as authorization, or oauth2.
Fields§
§password: Option<RuntimeComponentMonitoringEndpointsBasicAuthPassword>password specifies a key of a Secret containing the password for
authentication.
username: Option<RuntimeComponentMonitoringEndpointsBasicAuthUsername>username specifies a key of a Secret containing the username for
authentication.
Trait Implementations§
Source§impl Clone for RuntimeComponentMonitoringEndpointsBasicAuth
impl Clone for RuntimeComponentMonitoringEndpointsBasicAuth
Source§fn clone(&self) -> RuntimeComponentMonitoringEndpointsBasicAuth
fn clone(&self) -> RuntimeComponentMonitoringEndpointsBasicAuth
Returns a duplicate 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 Default for RuntimeComponentMonitoringEndpointsBasicAuth
impl Default for RuntimeComponentMonitoringEndpointsBasicAuth
Source§fn default() -> RuntimeComponentMonitoringEndpointsBasicAuth
fn default() -> RuntimeComponentMonitoringEndpointsBasicAuth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentMonitoringEndpointsBasicAuth
impl<'de> Deserialize<'de> for RuntimeComponentMonitoringEndpointsBasicAuth
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 RuntimeComponentMonitoringEndpointsBasicAuth
impl PartialEq for RuntimeComponentMonitoringEndpointsBasicAuth
Source§fn eq(&self, other: &RuntimeComponentMonitoringEndpointsBasicAuth) -> bool
fn eq(&self, other: &RuntimeComponentMonitoringEndpointsBasicAuth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentMonitoringEndpointsBasicAuth
Auto Trait Implementations§
impl Freeze for RuntimeComponentMonitoringEndpointsBasicAuth
impl RefUnwindSafe for RuntimeComponentMonitoringEndpointsBasicAuth
impl Send for RuntimeComponentMonitoringEndpointsBasicAuth
impl Sync for RuntimeComponentMonitoringEndpointsBasicAuth
impl Unpin for RuntimeComponentMonitoringEndpointsBasicAuth
impl UnwindSafe for RuntimeComponentMonitoringEndpointsBasicAuth
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