pub struct Command {
pub executable: PathBuf,
pub arguments: Vec<String>,
pub working_directory: &'static str,
pub environment_cleared: bool,
pub environment: BTreeMap<String, String>,
pub version_selection: VersionSelection,
pub effects: Vec<Effect>,
pub warning: &'static str,
pub execution_authorized: bool,
}Fields§
§executable: PathBuf§arguments: Vec<String>§working_directory: &'static str§environment_cleared: bool§environment: BTreeMap<String, String>Whitelisted controls and explicit scope paths, never inherited environment values.
version_selection: VersionSelection§effects: Vec<Effect>§warning: &'static strTrait Implementations§
Auto Trait Implementations§
impl Forget for Command
impl Freeze for Command
impl Move for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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