pub struct BashInput {
pub command: String,
pub timeout: Option<u64>,
pub description: Option<String>,
pub run_in_background: Option<bool>,
}Fields§
§command: StringThe command to execute
timeout: Option<u64>Optional timeout in milliseconds (max 600000)
description: Option<String>Clear, concise description of what this command does in 5-10 words
run_in_background: Option<bool>Set to true to run this 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
Source§impl JsonSchema for BashInput
impl JsonSchema for BashInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto 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