pub struct CheClusterComponentsDashboardDeploymentContainersEnv {
pub name: String,
pub value: Option<String>,
pub value_from: Option<CheClusterComponentsDashboardDeploymentContainersEnvValueFrom>,
}Expand description
EnvVar represents an environment variable present in a Container.
Fields§
§name: StringName of the environment variable. May consist of any printable ASCII characters except ‘=’.
value: Option<String>Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”.
value_from: Option<CheClusterComponentsDashboardDeploymentContainersEnvValueFrom>Source for the environment variable’s value. Cannot be used if value is not empty.
Trait Implementations§
Source§impl Clone for CheClusterComponentsDashboardDeploymentContainersEnv
impl Clone for CheClusterComponentsDashboardDeploymentContainersEnv
Source§fn clone(&self) -> CheClusterComponentsDashboardDeploymentContainersEnv
fn clone(&self) -> CheClusterComponentsDashboardDeploymentContainersEnv
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 CheClusterComponentsDashboardDeploymentContainersEnv
impl Default for CheClusterComponentsDashboardDeploymentContainersEnv
Source§fn default() -> CheClusterComponentsDashboardDeploymentContainersEnv
fn default() -> CheClusterComponentsDashboardDeploymentContainersEnv
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterComponentsDashboardDeploymentContainersEnv
impl<'de> Deserialize<'de> for CheClusterComponentsDashboardDeploymentContainersEnv
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 CheClusterComponentsDashboardDeploymentContainersEnv
impl PartialEq for CheClusterComponentsDashboardDeploymentContainersEnv
Source§fn eq(
&self,
other: &CheClusterComponentsDashboardDeploymentContainersEnv,
) -> bool
fn eq( &self, other: &CheClusterComponentsDashboardDeploymentContainersEnv, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterComponentsDashboardDeploymentContainersEnv
Auto Trait Implementations§
impl Freeze for CheClusterComponentsDashboardDeploymentContainersEnv
impl RefUnwindSafe for CheClusterComponentsDashboardDeploymentContainersEnv
impl Send for CheClusterComponentsDashboardDeploymentContainersEnv
impl Sync for CheClusterComponentsDashboardDeploymentContainersEnv
impl Unpin for CheClusterComponentsDashboardDeploymentContainersEnv
impl UnwindSafe for CheClusterComponentsDashboardDeploymentContainersEnv
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