pub struct ShellCmdRequest {
pub command: String,
pub cwd: Option<String>,
pub env: Option<HashMap<String, String>>,
pub timeout_ms: Option<u64>,
pub fail_on_non_zero: bool,
pub stdin: Option<CmdStdin>,
pub background: bool,
}Fields§
§command: String§cwd: Option<String>§env: Option<HashMap<String, String>>§timeout_ms: Option<u64>§fail_on_non_zero: bool§stdin: Option<CmdStdin>§background: boolTrait Implementations§
Source§impl Clone for ShellCmdRequest
impl Clone for ShellCmdRequest
Source§fn clone(&self) -> ShellCmdRequest
fn clone(&self) -> ShellCmdRequest
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 ShellCmdRequest
impl Debug for ShellCmdRequest
Source§impl PartialEq for ShellCmdRequest
impl PartialEq for ShellCmdRequest
impl Eq for ShellCmdRequest
impl StructuralPartialEq for ShellCmdRequest
Auto Trait Implementations§
impl Freeze for ShellCmdRequest
impl RefUnwindSafe for ShellCmdRequest
impl Send for ShellCmdRequest
impl Sync for ShellCmdRequest
impl Unpin for ShellCmdRequest
impl UnsafeUnpin for ShellCmdRequest
impl UnwindSafe for ShellCmdRequest
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