pub struct ExecToolArgs {
pub action: String,
pub command: Option<Value>,
pub cwd: Option<String>,
pub workdir: Option<String>,
pub env: Option<HashMap<String, String>>,
pub timeout: Option<u64>,
pub shell: Option<String>,
pub proc_id: Option<String>,
pub timeout_ms: Option<u64>,
pub signal: Option<String>,
pub tail: Option<usize>,
pub filter: Option<String>,
}Expand description
Arguments for proc tool
Fields§
§action: String§command: Option<Value>Command to execute (string or array for Rust parity)
cwd: Option<String>Working directory
workdir: Option<String>Alias for cwd (Rust parity)
env: Option<HashMap<String, String>>Environment variables
timeout: Option<u64>Timeout in seconds
shell: Option<String>Shell to use
proc_id: Option<String>Process ID for wait/kill/logs
timeout_ms: Option<u64>Timeout in milliseconds for wait
signal: Option<String>Signal for kill
tail: Option<usize>Number of lines for logs
filter: Option<String>Filter for ps
Trait Implementations§
Source§impl Clone for ExecToolArgs
impl Clone for ExecToolArgs
Source§fn clone(&self) -> ExecToolArgs
fn clone(&self) -> ExecToolArgs
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 ExecToolArgs
impl Debug for ExecToolArgs
Source§impl Default for ExecToolArgs
impl Default for ExecToolArgs
Source§fn default() -> ExecToolArgs
fn default() -> ExecToolArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecToolArgs
impl<'de> Deserialize<'de> for ExecToolArgs
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 ExecToolArgs
impl RefUnwindSafe for ExecToolArgs
impl Send for ExecToolArgs
impl Sync for ExecToolArgs
impl Unpin for ExecToolArgs
impl UnsafeUnpin for ExecToolArgs
impl UnwindSafe for ExecToolArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more