pub struct CodeInterpreterCallOutput {
pub code: String,
pub id: String,
pub status: String,
pub container_id: String,
pub results: Vec<CodeInterpreterResult>,
}
Expand description
Output of a code interpreter request.
Fields§
§code: String
The code that was executed.
id: String
Unique ID of the call.
status: String
Status of the tool call.
container_id: String
ID of the container used to run the code.
results: Vec<CodeInterpreterResult>
The results of the execution: logs or files.
Trait Implementations§
Source§impl Clone for CodeInterpreterCallOutput
impl Clone for CodeInterpreterCallOutput
Source§fn clone(&self) -> CodeInterpreterCallOutput
fn clone(&self) -> CodeInterpreterCallOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CodeInterpreterCallOutput
impl Debug for CodeInterpreterCallOutput
Source§impl<'de> Deserialize<'de> for CodeInterpreterCallOutput
impl<'de> Deserialize<'de> for CodeInterpreterCallOutput
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 PartialEq for CodeInterpreterCallOutput
impl PartialEq for CodeInterpreterCallOutput
Source§fn eq(&self, other: &CodeInterpreterCallOutput) -> bool
fn eq(&self, other: &CodeInterpreterCallOutput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CodeInterpreterCallOutput
Auto Trait Implementations§
impl Freeze for CodeInterpreterCallOutput
impl RefUnwindSafe for CodeInterpreterCallOutput
impl Send for CodeInterpreterCallOutput
impl Sync for CodeInterpreterCallOutput
impl Unpin for CodeInterpreterCallOutput
impl UnwindSafe for CodeInterpreterCallOutput
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