pub struct CodeInterpreter {
pub input: String,
pub outputs: Vec<CodeInterpreterOutput>,
}
Fields§
§input: String
The input to the Code Interpreter tool call.
outputs: Vec<CodeInterpreterOutput>
The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs
) or images (image
). Each of these are represented by a different object type.
Trait Implementations§
Source§impl Clone for CodeInterpreter
impl Clone for CodeInterpreter
Source§fn clone(&self) -> CodeInterpreter
fn clone(&self) -> CodeInterpreter
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 CodeInterpreter
impl Debug for CodeInterpreter
Source§impl<'de> Deserialize<'de> for CodeInterpreter
impl<'de> Deserialize<'de> for CodeInterpreter
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 CodeInterpreter
impl PartialEq for CodeInterpreter
Source§impl Serialize for CodeInterpreter
impl Serialize for CodeInterpreter
impl StructuralPartialEq for CodeInterpreter
Auto Trait Implementations§
impl Freeze for CodeInterpreter
impl RefUnwindSafe for CodeInterpreter
impl Send for CodeInterpreter
impl Sync for CodeInterpreter
impl Unpin for CodeInterpreter
impl UnwindSafe for CodeInterpreter
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