Struct google_ml1::api::GoogleCloudMlV1__EnvVar [−][src]
Represents an environment variable to be made available in a container. This message is a subset of the Kubernetes EnvVar v1 core specification.
This type is not used in any activity, and only used as part of another schema.
Fields
name: Option<String>
Name of the environment variable. Must be a valid C identifier and must not begin with the prefix AIP_
.
value: Option<String>
Value of the environment variable. Defaults to an empty string. In this field, you can reference environment variables set by AI Platform Prediction and environment variables set earlier in the same env field as where this message occurs. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with $$
; for example: $$(VARIABLE_NAME)
Trait Implementations
impl Clone for GoogleCloudMlV1__EnvVar
[src]
fn clone(&self) -> GoogleCloudMlV1__EnvVar
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudMlV1__EnvVar
[src]
impl Default for GoogleCloudMlV1__EnvVar
[src]
fn default() -> GoogleCloudMlV1__EnvVar
[src]
impl<'de> Deserialize<'de> for GoogleCloudMlV1__EnvVar
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudMlV1__EnvVar
[src]
impl Serialize for GoogleCloudMlV1__EnvVar
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudMlV1__EnvVar
impl Send for GoogleCloudMlV1__EnvVar
impl Sync for GoogleCloudMlV1__EnvVar
impl Unpin for GoogleCloudMlV1__EnvVar
impl UnwindSafe for GoogleCloudMlV1__EnvVar
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,