pub struct CodeInterpreterCall {
pub call_type: String,
pub outputs: Vec<CodeInterpreterOutput>,
pub code: Option<String>,
pub id: Option<String>,
pub status: Option<String>,
}Expand description
The output of a code interpreter tool call.
Fields§
§call_type: StringThe type of the code interpreter tool call. Always code_interpreter_call.
outputs: Vec<CodeInterpreterOutput>The outputs of the code interpreter tool call.
code: Option<String>The code of the code interpreter tool call.
id: Option<String>The unique ID of the code interpreter tool call.
status: Option<String>The status of the code interpreter tool call.
Trait Implementations§
Source§impl Clone for CodeInterpreterCall
impl Clone for CodeInterpreterCall
Source§fn clone(&self) -> CodeInterpreterCall
fn clone(&self) -> CodeInterpreterCall
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 CodeInterpreterCall
impl Debug for CodeInterpreterCall
Source§impl Default for CodeInterpreterCall
impl Default for CodeInterpreterCall
Source§fn default() -> CodeInterpreterCall
fn default() -> CodeInterpreterCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeInterpreterCall
impl<'de> Deserialize<'de> for CodeInterpreterCall
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 CodeInterpreterCall
impl PartialEq for CodeInterpreterCall
Source§impl Serialize for CodeInterpreterCall
impl Serialize for CodeInterpreterCall
impl StructuralPartialEq for CodeInterpreterCall
Auto Trait Implementations§
impl Freeze for CodeInterpreterCall
impl RefUnwindSafe for CodeInterpreterCall
impl Send for CodeInterpreterCall
impl Sync for CodeInterpreterCall
impl Unpin for CodeInterpreterCall
impl UnwindSafe for CodeInterpreterCall
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