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: StringThe unique ID of the code interpreter tool call.
type: StringThe type of the code interpreter tool call.
code: StringThe code to run.
status: StringThe 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 moreAuto 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