pub struct PodMonitorPodMetricsEndpointsItemBasicAuthPassword {
pub key: String,
pub name: Option<String>,
pub optional: Option<bool>,
}Fields§
§key: StringThe key of the secret to select from. Must be a valid secret key.
name: Option<String>Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional: Option<bool>Specify whether the Secret or its key must be defined
Trait Implementations§
Source§impl Clone for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl Clone for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
Source§fn clone(&self) -> PodMonitorPodMetricsEndpointsItemBasicAuthPassword
fn clone(&self) -> PodMonitorPodMetricsEndpointsItemBasicAuthPassword
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<'de> Deserialize<'de> for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl<'de> Deserialize<'de> for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
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
Auto Trait Implementations§
impl Freeze for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl RefUnwindSafe for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl Send for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl Sync for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl Unpin for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl UnsafeUnpin for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
impl UnwindSafe for PodMonitorPodMetricsEndpointsItemBasicAuthPassword
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