pub struct ResponseFunctionShellToolCallOutput {
pub id: String,
pub call_id: String,
pub max_output_length: Option<i64>,
pub output: Vec<FunctionShellOutput>,
pub status: ResponseFunctionShellToolCallOutputStatus,
pub type_: String,
pub created_by: Option<String>,
}Expand description
The output of a shell tool call that was emitted.
Fields§
§id: StringThe unique ID of the shell call output.
call_id: StringThe unique ID of the shell tool call generated by the model.
max_output_length: Option<i64>The maximum length of the shell command output.
output: Vec<FunctionShellOutput>An array of shell call output contents
status: ResponseFunctionShellToolCallOutputStatusThe status of the shell call output.
type_: StringThe type of the shell call output. Always shell_call_output.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for ResponseFunctionShellToolCallOutput
impl Clone for ResponseFunctionShellToolCallOutput
Source§fn clone(&self) -> ResponseFunctionShellToolCallOutput
fn clone(&self) -> ResponseFunctionShellToolCallOutput
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<'de> Deserialize<'de> for ResponseFunctionShellToolCallOutput
impl<'de> Deserialize<'de> for ResponseFunctionShellToolCallOutput
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 ResponseFunctionShellToolCallOutput
impl RefUnwindSafe for ResponseFunctionShellToolCallOutput
impl Send for ResponseFunctionShellToolCallOutput
impl Sync for ResponseFunctionShellToolCallOutput
impl Unpin for ResponseFunctionShellToolCallOutput
impl UnsafeUnpin for ResponseFunctionShellToolCallOutput
impl UnwindSafe for ResponseFunctionShellToolCallOutput
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