pub struct ResponseCodeInterpreterCallCompletedEvent {
pub output_index: u64,
pub code_interpreter_call: CodeInterpreterToolCall,
pub sequence_number: u64,
}
Expand description
Emitted when the code interpreter call is completed.
Fields§
§output_index: u64
The index of the output item that the code interpreter call is in progress.
code_interpreter_call: CodeInterpreterToolCall
§sequence_number: u64
The sequence number of this event.
Implementations§
Source§impl ResponseCodeInterpreterCallCompletedEvent
impl ResponseCodeInterpreterCallCompletedEvent
Sourcepub fn builder() -> ResponseCodeInterpreterCallCompletedEventBuilder<((), (), ())>
pub fn builder() -> ResponseCodeInterpreterCallCompletedEventBuilder<((), (), ())>
Create a builder for building ResponseCodeInterpreterCallCompletedEvent
.
On the builder, call .output_index(...)
, .code_interpreter_call(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseCodeInterpreterCallCompletedEvent
.
Trait Implementations§
Source§impl Clone for ResponseCodeInterpreterCallCompletedEvent
impl Clone for ResponseCodeInterpreterCallCompletedEvent
Source§fn clone(&self) -> ResponseCodeInterpreterCallCompletedEvent
fn clone(&self) -> ResponseCodeInterpreterCallCompletedEvent
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 ResponseCodeInterpreterCallCompletedEvent
impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallCompletedEvent
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 ResponseCodeInterpreterCallCompletedEvent
impl PartialEq for ResponseCodeInterpreterCallCompletedEvent
Source§fn eq(&self, other: &ResponseCodeInterpreterCallCompletedEvent) -> bool
fn eq(&self, other: &ResponseCodeInterpreterCallCompletedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseCodeInterpreterCallCompletedEvent
Auto Trait Implementations§
impl Freeze for ResponseCodeInterpreterCallCompletedEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallCompletedEvent
impl Send for ResponseCodeInterpreterCallCompletedEvent
impl Sync for ResponseCodeInterpreterCallCompletedEvent
impl Unpin for ResponseCodeInterpreterCallCompletedEvent
impl UnwindSafe for ResponseCodeInterpreterCallCompletedEvent
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