[][src]Struct google_run1::EnvVar

pub struct EnvVar {
    pub value_from: Option<EnvVarSource>,
    pub name: Option<String>,
    pub value: Option<String>,
}

EnvVar represents an environment variable present in a Container.

This type is not used in any activity, and only used as part of another schema.

Fields

value_from: Option<EnvVarSource>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Source for the environment variable's value. Cannot be used if value is not empty.

name: Option<String>

Name of the environment variable. Must be a C_IDENTIFIER.

value: Option<String>

(Optional)

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

Trait Implementations

impl Clone for EnvVar[src]

impl Debug for EnvVar[src]

impl Default for EnvVar[src]

impl<'de> Deserialize<'de> for EnvVar[src]

impl Part for EnvVar[src]

impl Serialize for EnvVar[src]

Auto Trait Implementations

impl RefUnwindSafe for EnvVar

impl Send for EnvVar

impl Sync for EnvVar

impl Unpin for EnvVar

impl UnwindSafe for EnvVar

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any