pub struct ExportedEnvironmentVariable {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Information about an exported environment variable.
Fields§
§name: Option<String>
The name of this exported environment variable.
value: Option<String>
The value assigned to this exported environment variable.
During a build, the value of a variable is available starting with the install
phase. It can be updated between the start of the install
phase and the end of the postbuild
phase. After the postbuild
phase ends, the value of exported variables cannot change.
Trait Implementations§
Source§impl Clone for ExportedEnvironmentVariable
impl Clone for ExportedEnvironmentVariable
Source§fn clone(&self) -> ExportedEnvironmentVariable
fn clone(&self) -> ExportedEnvironmentVariable
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 Debug for ExportedEnvironmentVariable
impl Debug for ExportedEnvironmentVariable
Source§impl Default for ExportedEnvironmentVariable
impl Default for ExportedEnvironmentVariable
Source§fn default() -> ExportedEnvironmentVariable
fn default() -> ExportedEnvironmentVariable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportedEnvironmentVariable
impl<'de> Deserialize<'de> for ExportedEnvironmentVariable
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
impl StructuralPartialEq for ExportedEnvironmentVariable
Auto Trait Implementations§
impl Freeze for ExportedEnvironmentVariable
impl RefUnwindSafe for ExportedEnvironmentVariable
impl Send for ExportedEnvironmentVariable
impl Sync for ExportedEnvironmentVariable
impl Unpin for ExportedEnvironmentVariable
impl UnwindSafe for ExportedEnvironmentVariable
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