pub struct CommandOptions {
pub timeout_seconds: Option<u64>,
pub truncate_after: Option<usize>,
pub working_directory: Option<String>,
pub environment: HashMap<String, String>,
pub capture_stderr: bool,
pub shell: Option<String>,
}Expand description
Command execution options
Fields§
§timeout_seconds: Option<u64>§truncate_after: Option<usize>§working_directory: Option<String>§environment: HashMap<String, String>§capture_stderr: bool§shell: Option<String>Trait Implementations§
Source§impl Clone for CommandOptions
impl Clone for CommandOptions
Source§fn clone(&self) -> CommandOptions
fn clone(&self) -> CommandOptions
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 CommandOptions
impl Debug for CommandOptions
Auto Trait Implementations§
impl Freeze for CommandOptions
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnwindSafe for CommandOptions
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