pub struct BashInput {
pub command: String,
pub description: Option<String>,
pub timeout: Option<u64>,
pub run_in_background: Option<bool>,
}Expand description
Input for the Bash tool - executes shell commands.
Fields§
§command: StringThe bash command to execute (required)
description: Option<String>Human-readable description of what the command does
timeout: Option<u64>Timeout in milliseconds (max 600000)
run_in_background: Option<bool>Whether to run the command in the background
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BashInput
impl<'de> Deserialize<'de> for BashInput
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
impl StructuralPartialEq for BashInput
Auto Trait Implementations§
impl Freeze for BashInput
impl RefUnwindSafe for BashInput
impl Send for BashInput
impl Sync for BashInput
impl Unpin for BashInput
impl UnsafeUnpin for BashInput
impl UnwindSafe for BashInput
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