pub struct SubprocessExecutionConfig {
pub silent: Option<bool>,
pub continue_on_err: Option<bool>,
pub system_log: Option<bool>,
pub ignore_standard_out: Option<bool>,
pub ignore_standard_error: Option<bool>,
pub redirect_standard_error_to_output: Option<bool>,
pub add_to_path: Option<Vec<String>>,
pub add_expansions_to_env: Option<bool>,
pub include_expansions_in_env: Option<Vec<String>>,
}Expand description
Parameters common to SubprocessExec and SubprocessScripting.
Fields§
§silent: Option<bool>If true, does not log any shell output during execution.
continue_on_err: Option<bool>If true, causes command to be marked as success regardless of script’s exit code.
system_log: Option<bool>If true, scripts output will be written to task’s system logs instead of test logs.
ignore_standard_out: Option<bool>If true, discard output sent to stdout.
ignore_standard_error: Option<bool>If true, discard output sent to stderr.
redirect_standard_error_to_output: Option<bool>If true, send stderr to stdout.
add_to_path: Option<Vec<String>>List of paths to prepend to PATH.
add_expansions_to_env: Option<bool>If true, add all expansions to shell’s env.
include_expansions_in_env: Option<Vec<String>>Specify 1 or more expansions to include in the shell’s env.
Trait Implementations§
Source§impl Clone for SubprocessExecutionConfig
impl Clone for SubprocessExecutionConfig
Source§fn clone(&self) -> SubprocessExecutionConfig
fn clone(&self) -> SubprocessExecutionConfig
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 SubprocessExecutionConfig
impl Debug for SubprocessExecutionConfig
Source§impl<'de> Deserialize<'de> for SubprocessExecutionConfig
impl<'de> Deserialize<'de> for SubprocessExecutionConfig
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 SubprocessExecutionConfig
impl RefUnwindSafe for SubprocessExecutionConfig
impl Send for SubprocessExecutionConfig
impl Sync for SubprocessExecutionConfig
impl Unpin for SubprocessExecutionConfig
impl UnwindSafe for SubprocessExecutionConfig
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