pub struct CommandExecParams {Show 13 fields
pub command: Vec<String>,
pub cwd: Option<String>,
pub disable_output_cap: Option<bool>,
pub disable_timeout: Option<bool>,
pub env: Option<BTreeMap<String, Option<String>>>,
pub output_bytes_cap: Option<i64>,
pub process_id: Option<String>,
pub sandbox_policy: Option<SandboxPolicy>,
pub size: Option<CommandExecTerminalSize>,
pub stream_stdin: Option<bool>,
pub stream_stdout_stderr: Option<bool>,
pub timeout_ms: Option<i64>,
pub tty: Option<bool>,
}Fields§
§command: Vec<String>§cwd: Option<String>§disable_output_cap: Option<bool>§disable_timeout: Option<bool>§env: Option<BTreeMap<String, Option<String>>>§output_bytes_cap: Option<i64>§process_id: Option<String>§sandbox_policy: Option<SandboxPolicy>§size: Option<CommandExecTerminalSize>§stream_stdin: Option<bool>§stream_stdout_stderr: Option<bool>§timeout_ms: Option<i64>§tty: Option<bool>Trait Implementations§
Source§impl Clone for CommandExecParams
impl Clone for CommandExecParams
Source§fn clone(&self) -> CommandExecParams
fn clone(&self) -> CommandExecParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandExecParams
impl Debug for CommandExecParams
Source§impl<'de> Deserialize<'de> for CommandExecParams
impl<'de> Deserialize<'de> for CommandExecParams
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
Source§impl PartialEq for CommandExecParams
impl PartialEq for CommandExecParams
Source§fn eq(&self, other: &CommandExecParams) -> bool
fn eq(&self, other: &CommandExecParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandExecParams
impl Serialize for CommandExecParams
impl StructuralPartialEq for CommandExecParams
Auto Trait Implementations§
impl Freeze for CommandExecParams
impl RefUnwindSafe for CommandExecParams
impl Send for CommandExecParams
impl Sync for CommandExecParams
impl Unpin for CommandExecParams
impl UnsafeUnpin for CommandExecParams
impl UnwindSafe for CommandExecParams
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