pub struct CodeInterpreterToolCall {
pub id: String,
pub type: String,
pub code: String,
pub status: String,
pub results: Vec<CodeInterpreterToolOutput>,
}
Expand description
A tool call to run code.
Fields§
§id: String
The unique ID of the code interpreter tool call.
type: String
The type of the code interpreter tool call.
code: String
The code to run.
status: String
The status of the code interpreter tool call.
results: Vec<CodeInterpreterToolOutput>
The results of the code interpreter tool call.
Trait Implementations§
Source§impl Clone for CodeInterpreterToolCall
impl Clone for CodeInterpreterToolCall
Source§fn clone(&self) -> CodeInterpreterToolCall
fn clone(&self) -> CodeInterpreterToolCall
Returns a copy 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 Default for CodeInterpreterToolCall
impl Default for CodeInterpreterToolCall
Source§fn default() -> CodeInterpreterToolCall
fn default() -> CodeInterpreterToolCall
Returns the “default value” for a type. Read more
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