pub struct RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap {
pub key: String,
pub name: Option<String>,
pub optional: Option<bool>,
}Expand description
ConfigMap containing data to use for the targets.
Fields§
§key: StringThe key to select.
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 ConfigMap or its key must be defined
Trait Implementations§
Source§impl Clone for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl Clone for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
Source§fn clone(&self) -> RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
fn clone(&self) -> RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
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 RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl Default for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
Source§fn default() -> RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
fn default() -> RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl<'de> Deserialize<'de> for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
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 RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl PartialEq for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
Source§fn eq(
&self,
other: &RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap,
) -> bool
fn eq( &self, other: &RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
Auto Trait Implementations§
impl Freeze for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl RefUnwindSafe for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl Send for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl Sync for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl Unpin for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
impl UnwindSafe for RuntimeComponentMonitoringEndpointsOauth2ClientIdConfigMap
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