pub struct CodeInterpreterToolCall {
pub code: String,
pub id: String,
pub results: Vec<CodeInterpreterToolOutput>,
pub status: String,
pub _type: String,
}
Fields§
§code: String
The code to run.
id: String
The unique ID of the code interpreter tool call.
results: Vec<CodeInterpreterToolOutput>
The results of the code interpreter tool call.
status: String
The status of the code interpreter tool call.
_type: String
The type of the code interpreter tool call. Always code_interpreter_call
.
Trait Implementations§
Source§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
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