pub struct ShellToolCallContent {
pub call_id: Option<String>,
pub commands: Option<Vec<String>>,
pub timeout_ms: Option<i64>,
pub max_output_length: Option<i64>,
pub status: Option<String>,
}Expand description
A shell tool call: the model’s request to run one or more shell commands. This is request metadata, not command output.
Fields§
§call_id: Option<String>§commands: Option<Vec<String>>§timeout_ms: Option<i64>§max_output_length: Option<i64>§status: Option<String>Trait Implementations§
Source§impl Clone for ShellToolCallContent
impl Clone for ShellToolCallContent
Source§fn clone(&self) -> ShellToolCallContent
fn clone(&self) -> ShellToolCallContent
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 ShellToolCallContent
impl Debug for ShellToolCallContent
Source§impl Default for ShellToolCallContent
impl Default for ShellToolCallContent
Source§fn default() -> ShellToolCallContent
fn default() -> ShellToolCallContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellToolCallContent
impl<'de> Deserialize<'de> for ShellToolCallContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShellToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShellToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ShellToolCallContent
impl PartialEq for ShellToolCallContent
Source§impl Serialize for ShellToolCallContent
impl Serialize for ShellToolCallContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ShellToolCallContent
Auto Trait Implementations§
impl Freeze for ShellToolCallContent
impl RefUnwindSafe for ShellToolCallContent
impl Send for ShellToolCallContent
impl Sync for ShellToolCallContent
impl Unpin for ShellToolCallContent
impl UnsafeUnpin for ShellToolCallContent
impl UnwindSafe for ShellToolCallContent
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