Struct k8s_openapi_ext::corev1::ConfigMapEnvSource
source · [−]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
sourceimpl Clone for ConfigMapEnvSource
impl Clone for ConfigMapEnvSource
sourcefn clone(&self) -> ConfigMapEnvSource
fn clone(&self) -> ConfigMapEnvSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConfigMapEnvSource
impl Debug for ConfigMapEnvSource
sourceimpl Default for ConfigMapEnvSource
impl Default for ConfigMapEnvSource
sourcefn default() -> ConfigMapEnvSource
fn default() -> ConfigMapEnvSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConfigMapEnvSource
impl<'de> Deserialize<'de> for ConfigMapEnvSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<ConfigMapEnvSource, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ConfigMapEnvSource, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ConfigMapEnvSource> for ConfigMapEnvSource
impl PartialEq<ConfigMapEnvSource> for ConfigMapEnvSource
sourcefn 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 ==
. Read more
sourceimpl Serialize for ConfigMapEnvSource
impl Serialize for ConfigMapEnvSource
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl ToEnvFrom for ConfigMapEnvSource
impl ToEnvFrom for ConfigMapEnvSource
fn to_envfrom(self) -> EnvFromSource
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more