pub struct EnvVariable {
pub name: String,
pub value: String,
}Expand description
An environment variable to set on a launched
process. The schema’s EnvVariable is just a
(name, value) pair.
Fields§
§name: StringThe variable name.
value: StringThe variable value.
Trait Implementations§
Source§impl Clone for EnvVariable
impl Clone for EnvVariable
Source§impl Debug for EnvVariable
impl Debug for EnvVariable
Source§impl<'de> Deserialize<'de> for EnvVariable
impl<'de> Deserialize<'de> for EnvVariable
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 Eq for EnvVariable
Source§impl PartialEq for EnvVariable
impl PartialEq for EnvVariable
Source§impl Serialize for EnvVariable
impl Serialize for EnvVariable
impl StructuralPartialEq for EnvVariable
Auto Trait Implementations§
impl Freeze for EnvVariable
impl RefUnwindSafe for EnvVariable
impl Send for EnvVariable
impl Sync for EnvVariable
impl Unpin for EnvVariable
impl UnsafeUnpin for EnvVariable
impl UnwindSafe for EnvVariable
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