pub struct ScriptEnv {
pub language: ScriptLang,
pub cmd: String,
pub args: Vec<String>,
pub env: HashMap<String, String>,
}Expand description
Defines the environemnt the script should run in.
Fields§
§language: ScriptLang§cmd: String§args: Vec<String>§env: HashMap<String, String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScriptEnv
impl RefUnwindSafe for ScriptEnv
impl Send for ScriptEnv
impl Sync for ScriptEnv
impl Unpin for ScriptEnv
impl UnwindSafe for ScriptEnv
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