pub struct CodeInterpreterToolCall {
pub code: Option<String>,
pub container_id: String,
pub id: String,
pub outputs: Option<Vec<CodeInterpreterToolCallOutput>>,
pub status: CodeInterpreterToolCallStatus,
}Expand description
Output of a code interpreter request.
Fields§
§code: Option<String>The code to run, or null if not available.
container_id: StringID of the container used to run the code.
id: StringThe unique ID of the code interpreter tool call.
outputs: Option<Vec<CodeInterpreterToolCallOutput>>The outputs generated by the code interpreter, such as logs or images. Can be null if no outputs are available.
status: CodeInterpreterToolCallStatusThe status of the code interpreter tool call.
Valid values are in_progress, completed, incomplete, interpreting, and failed.
Trait Implementations§
Source§impl Clone for CodeInterpreterToolCall
impl Clone for CodeInterpreterToolCall
Source§fn clone(&self) -> CodeInterpreterToolCall
fn clone(&self) -> CodeInterpreterToolCall
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeInterpreterToolCall
impl Debug for CodeInterpreterToolCall
Source§impl<'de> Deserialize<'de> for CodeInterpreterToolCall
impl<'de> Deserialize<'de> for CodeInterpreterToolCall
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 CodeInterpreterToolCall
impl PartialEq for CodeInterpreterToolCall
Source§impl Serialize for CodeInterpreterToolCall
impl Serialize for CodeInterpreterToolCall
impl StructuralPartialEq for CodeInterpreterToolCall
Auto Trait Implementations§
impl Freeze for CodeInterpreterToolCall
impl RefUnwindSafe for CodeInterpreterToolCall
impl Send for CodeInterpreterToolCall
impl Sync for CodeInterpreterToolCall
impl Unpin for CodeInterpreterToolCall
impl UnwindSafe for CodeInterpreterToolCall
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