pub struct BashInput {
pub command: String,
pub description: Option<String>,
pub timeout: Option<u64>,
}Expand description
Bash tool input structure.
Fields§
§command: StringThe command to execute
description: Option<String>Description of the command
timeout: Option<u64>Timeout in milliseconds
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
Auto Trait Implementations§
impl Freeze for BashInput
impl RefUnwindSafe for BashInput
impl Send for BashInput
impl Sync for BashInput
impl Unpin 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