pub struct RunStepDetailsToolCallsCodeObjectCodeInterpreter {
pub input: String,
pub outputs: Vec<RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputs>,
}
Expand description
The Code Interpreter tool call definition.
Fields§
§input: String
The input to the Code Interpreter tool call.
outputs: Vec<RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputs>
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.
Implementations§
Source§impl RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl RunStepDetailsToolCallsCodeObjectCodeInterpreter
Sourcepub fn builder() -> RunStepDetailsToolCallsCodeObjectCodeInterpreterBuilder<((), ())>
pub fn builder() -> RunStepDetailsToolCallsCodeObjectCodeInterpreterBuilder<((), ())>
Create a builder for building RunStepDetailsToolCallsCodeObjectCodeInterpreter
.
On the builder, call .input(...)
, .outputs(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RunStepDetailsToolCallsCodeObjectCodeInterpreter
.
Trait Implementations§
Source§impl Clone for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl Clone for RunStepDetailsToolCallsCodeObjectCodeInterpreter
Source§fn clone(&self) -> RunStepDetailsToolCallsCodeObjectCodeInterpreter
fn clone(&self) -> RunStepDetailsToolCallsCodeObjectCodeInterpreter
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsCodeObjectCodeInterpreter
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 RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl PartialEq for RunStepDetailsToolCallsCodeObjectCodeInterpreter
Source§fn eq(&self, other: &RunStepDetailsToolCallsCodeObjectCodeInterpreter) -> bool
fn eq(&self, other: &RunStepDetailsToolCallsCodeObjectCodeInterpreter) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunStepDetailsToolCallsCodeObjectCodeInterpreter
Auto Trait Implementations§
impl Freeze for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl RefUnwindSafe for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl Send for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl Sync for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl Unpin for RunStepDetailsToolCallsCodeObjectCodeInterpreter
impl UnwindSafe for RunStepDetailsToolCallsCodeObjectCodeInterpreter
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