pub struct RunStepDetailsToolCallsCodeObject {
pub id: String,
pub type: String,
pub code_interpreter: CodeInterpreter,
}
Expand description
Code interpreter tool call
Fields§
§id: String
The ID of the tool call.
type: String
The type of tool call. This is always going to be code_interpreter
for this type of tool call.
code_interpreter: CodeInterpreter
The Code Interpreter tool call definition.
Trait Implementations§
source§impl Clone for RunStepDetailsToolCallsCodeObject
impl Clone for RunStepDetailsToolCallsCodeObject
source§fn clone(&self) -> RunStepDetailsToolCallsCodeObject
fn clone(&self) -> RunStepDetailsToolCallsCodeObject
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<'de> Deserialize<'de> for RunStepDetailsToolCallsCodeObject
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsCodeObject
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 RunStepDetailsToolCallsCodeObject
impl PartialEq for RunStepDetailsToolCallsCodeObject
source§fn eq(&self, other: &RunStepDetailsToolCallsCodeObject) -> bool
fn eq(&self, other: &RunStepDetailsToolCallsCodeObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RunStepDetailsToolCallsCodeObject
Auto Trait Implementations§
impl RefUnwindSafe for RunStepDetailsToolCallsCodeObject
impl Send for RunStepDetailsToolCallsCodeObject
impl Sync for RunStepDetailsToolCallsCodeObject
impl Unpin for RunStepDetailsToolCallsCodeObject
impl UnwindSafe for RunStepDetailsToolCallsCodeObject
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