pub struct SubprocessScriptingParams {
pub harness: ScriptingHarness,
pub command: Option<String>,
pub args: Option<Vec<String>>,
pub test_dir: Option<String>,
pub test_options: Option<ScriptingTestOptions>,
pub cache_duration_secs: Option<u64>,
pub cleanup_harness: Option<bool>,
pub lock_file: Option<String>,
pub packages: Option<Vec<String>>,
pub harness_path: Option<String>,
pub execution_config: SubprocessExecutionConfig,
}Expand description
Parameters describing how to execute a command insdie a scripting harness.
Fields§
§harness: ScriptingHarnessScripting harness to use.
command: Option<String>Commandline args as a to run.
args: Option<Vec<String>>Commandline args as a to run.
test_dir: Option<String>Directory where tets should be run.
test_options: Option<ScriptingTestOptions>Describes how to tests in test_dir will be executed.
cache_duration_secs: Option<u64>Total number of seconds environment should be stored for.
cleanup_harness: Option<bool>Indicates that harness should not be reused between executions.
lock_file: Option<String>Lockfile describing dependencies.
packages: Option<Vec<String>>List of dependencies to install.
harness_path: Option<String>Path to hosting interpreter or binary.
execution_config: SubprocessExecutionConfigExecution configuration.
Trait Implementations§
Source§impl Clone for SubprocessScriptingParams
impl Clone for SubprocessScriptingParams
Source§fn clone(&self) -> SubprocessScriptingParams
fn clone(&self) -> SubprocessScriptingParams
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 SubprocessScriptingParams
impl Debug for SubprocessScriptingParams
Source§impl<'de> Deserialize<'de> for SubprocessScriptingParams
impl<'de> Deserialize<'de> for SubprocessScriptingParams
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
Auto Trait Implementations§
impl Freeze for SubprocessScriptingParams
impl RefUnwindSafe for SubprocessScriptingParams
impl Send for SubprocessScriptingParams
impl Sync for SubprocessScriptingParams
impl Unpin for SubprocessScriptingParams
impl UnwindSafe for SubprocessScriptingParams
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