pub struct EnvironmentVariable {
pub type: Option<EnvironmentVariableType>,
pub name: Option<String>,
pub value: Option<String>,
}Expand description
EnvironmentVariable : Describes an environment variable for the container.
Fields§
§type: Option<EnvironmentVariableType>§name: Option<String>The name of the environment variable.
value: Option<String>The value of the environment variable, will be processed based on the type provided.
Implementations§
Source§impl EnvironmentVariable
impl EnvironmentVariable
Sourcepub fn new() -> EnvironmentVariable
pub fn new() -> EnvironmentVariable
Describes an environment variable for the container.
Trait Implementations§
Source§impl Clone for EnvironmentVariable
impl Clone for EnvironmentVariable
Source§impl Debug for EnvironmentVariable
impl Debug for EnvironmentVariable
Source§impl Default for EnvironmentVariable
impl Default for EnvironmentVariable
Source§impl<'de> Deserialize<'de> for EnvironmentVariable
impl<'de> Deserialize<'de> for EnvironmentVariable
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 EnvironmentVariable
impl PartialEq for EnvironmentVariable
Source§impl Serialize for EnvironmentVariable
impl Serialize for EnvironmentVariable
impl StructuralPartialEq for EnvironmentVariable
Auto Trait Implementations§
impl Freeze for EnvironmentVariable
impl RefUnwindSafe for EnvironmentVariable
impl Send for EnvironmentVariable
impl Sync for EnvironmentVariable
impl Unpin for EnvironmentVariable
impl UnsafeUnpin for EnvironmentVariable
impl UnwindSafe for EnvironmentVariable
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