pub struct ShellCallOutput {
pub call_id: String,
pub output: Vec<ResponseFunctionShellCallOutputContent>,
pub type_: String,
pub id: Option<String>,
pub max_output_length: Option<i64>,
pub status: Option<ShellCallOutputStatus>,
}Expand description
The streamed output items emitted by a shell tool call.
Fields§
§call_id: StringThe unique ID of the shell tool call generated by the model.
output: Vec<ResponseFunctionShellCallOutputContent>Captured chunks of stdout and stderr output, along with their associated
type_: StringThe type of the item. Always shell_call_output.
id: Option<String>The unique ID of the shell tool call output.
max_output_length: Option<i64>The maximum number of UTF-8 characters captured for this shell call’s combined
status: Option<ShellCallOutputStatus>The status of the shell call output.
Trait Implementations§
Source§impl Clone for ShellCallOutput
impl Clone for ShellCallOutput
Source§fn clone(&self) -> ShellCallOutput
fn clone(&self) -> ShellCallOutput
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 ShellCallOutput
impl Debug for ShellCallOutput
Source§impl<'de> Deserialize<'de> for ShellCallOutput
impl<'de> Deserialize<'de> for ShellCallOutput
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 ShellCallOutput
impl RefUnwindSafe for ShellCallOutput
impl Send for ShellCallOutput
impl Sync for ShellCallOutput
impl Unpin for ShellCallOutput
impl UnsafeUnpin for ShellCallOutput
impl UnwindSafe for ShellCallOutput
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