Struct k8s_openapi::api::core::v1::ConfigMapEnvSource
source · pub struct ConfigMapEnvSource {
pub name: Option<String>,
pub optional: Option<bool>,
}
Expand description
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
The contents of the target ConfigMap’s Data field will represent the key-value pairs as environment variables.
Fields§
§name: Option<String>
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional: Option<bool>
Specify whether the ConfigMap must be defined
Trait Implementations§
source§impl Clone for ConfigMapEnvSource
impl Clone for ConfigMapEnvSource
source§fn clone(&self) -> ConfigMapEnvSource
fn clone(&self) -> ConfigMapEnvSource
Returns a copy 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 Debug for ConfigMapEnvSource
impl Debug for ConfigMapEnvSource
source§impl DeepMerge for ConfigMapEnvSource
impl DeepMerge for ConfigMapEnvSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ConfigMapEnvSource
impl Default for ConfigMapEnvSource
source§fn default() -> ConfigMapEnvSource
fn default() -> ConfigMapEnvSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigMapEnvSource
impl<'de> Deserialize<'de> for ConfigMapEnvSource
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 ConfigMapEnvSource
impl PartialEq for ConfigMapEnvSource
source§fn eq(&self, other: &ConfigMapEnvSource) -> bool
fn eq(&self, other: &ConfigMapEnvSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigMapEnvSource
impl Serialize for ConfigMapEnvSource
impl StructuralPartialEq for ConfigMapEnvSource
Auto Trait Implementations§
impl RefUnwindSafe for ConfigMapEnvSource
impl Send for ConfigMapEnvSource
impl Sync for ConfigMapEnvSource
impl Unpin for ConfigMapEnvSource
impl UnwindSafe for ConfigMapEnvSource
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