pub struct ActivateEnvironmentOutput {
pub env: FxHashMap<String, String>,
pub paths: Vec<PathBuf>,
}
Expand description
Output returned by the activate_environment
function.
Fields§
§env: FxHashMap<String, String>
Additional environment variables to set. Will overwrite any existing variables.
paths: Vec<PathBuf>
Additional paths to prepend to PATH
. Tool specific executables
and globals directories do NOT need to be included here, as they
are automatically included.
Trait Implementations§
Source§impl Clone for ActivateEnvironmentOutput
impl Clone for ActivateEnvironmentOutput
Source§fn clone(&self) -> ActivateEnvironmentOutput
fn clone(&self) -> ActivateEnvironmentOutput
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 ActivateEnvironmentOutput
impl Debug for ActivateEnvironmentOutput
Source§impl Default for ActivateEnvironmentOutput
impl Default for ActivateEnvironmentOutput
Source§fn default() -> ActivateEnvironmentOutput
fn default() -> ActivateEnvironmentOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivateEnvironmentOutputwhere
ActivateEnvironmentOutput: Default,
impl<'de> Deserialize<'de> for ActivateEnvironmentOutputwhere
ActivateEnvironmentOutput: Default,
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 ActivateEnvironmentOutput
Auto Trait Implementations§
impl Freeze for ActivateEnvironmentOutput
impl RefUnwindSafe for ActivateEnvironmentOutput
impl Send for ActivateEnvironmentOutput
impl Sync for ActivateEnvironmentOutput
impl Unpin for ActivateEnvironmentOutput
impl UnwindSafe for ActivateEnvironmentOutput
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