pub struct RunStepDeltaStepDetailsToolCallsCodeObject {
    pub index: i64,
    pub id: Option<String>,
    pub code_interpreter: Option<CodeInterpreter>,
}Expand description
Details of the Code Interpreter tool call the run step was involved in.
Fields§
§index: i64The index of the tool call in the tool calls array.
id: Option<String>The ID of the tool call.
code_interpreter: Option<CodeInterpreter>The Code Interpreter tool call definition.
Implementations§
Source§impl RunStepDeltaStepDetailsToolCallsCodeObject
 
impl RunStepDeltaStepDetailsToolCallsCodeObject
Sourcepub fn builder() -> RunStepDeltaStepDetailsToolCallsCodeObjectBuilder<((), (), ())>
 
pub fn builder() -> RunStepDeltaStepDetailsToolCallsCodeObjectBuilder<((), (), ())>
Create a builder for building RunStepDeltaStepDetailsToolCallsCodeObject.
On the builder, call .index(...), .id(...)(optional), .code_interpreter(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of RunStepDeltaStepDetailsToolCallsCodeObject.
Trait Implementations§
Source§impl Clone for RunStepDeltaStepDetailsToolCallsCodeObject
 
impl Clone for RunStepDeltaStepDetailsToolCallsCodeObject
Source§fn clone(&self) -> RunStepDeltaStepDetailsToolCallsCodeObject
 
fn clone(&self) -> RunStepDeltaStepDetailsToolCallsCodeObject
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<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsCodeObject
 
impl<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsCodeObject
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 RunStepDeltaStepDetailsToolCallsCodeObject
 
impl PartialEq for RunStepDeltaStepDetailsToolCallsCodeObject
Source§fn eq(&self, other: &RunStepDeltaStepDetailsToolCallsCodeObject) -> bool
 
fn eq(&self, other: &RunStepDeltaStepDetailsToolCallsCodeObject) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunStepDeltaStepDetailsToolCallsCodeObject
Auto Trait Implementations§
impl Freeze for RunStepDeltaStepDetailsToolCallsCodeObject
impl RefUnwindSafe for RunStepDeltaStepDetailsToolCallsCodeObject
impl Send for RunStepDeltaStepDetailsToolCallsCodeObject
impl Sync for RunStepDeltaStepDetailsToolCallsCodeObject
impl Unpin for RunStepDeltaStepDetailsToolCallsCodeObject
impl UnwindSafe for RunStepDeltaStepDetailsToolCallsCodeObject
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