pub struct ResponseCodeInterpreterCallInProgressEvent {
pub output_index: u64,
pub code_interpreter_call: CodeInterpreterToolCall,
pub sequence_number: u64,
}
Expand description
Emitted when a code interpreter call is in progress.
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 ResponseCodeInterpreterCallInProgressEvent
impl ResponseCodeInterpreterCallInProgressEvent
Sourcepub fn builder() -> ResponseCodeInterpreterCallInProgressEventBuilder<((), (), ())>
pub fn builder() -> ResponseCodeInterpreterCallInProgressEventBuilder<((), (), ())>
Create a builder for building ResponseCodeInterpreterCallInProgressEvent
.
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 ResponseCodeInterpreterCallInProgressEvent
.
Trait Implementations§
Source§impl Clone for ResponseCodeInterpreterCallInProgressEvent
impl Clone for ResponseCodeInterpreterCallInProgressEvent
Source§fn clone(&self) -> ResponseCodeInterpreterCallInProgressEvent
fn clone(&self) -> ResponseCodeInterpreterCallInProgressEvent
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 ResponseCodeInterpreterCallInProgressEvent
impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallInProgressEvent
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 ResponseCodeInterpreterCallInProgressEvent
impl PartialEq for ResponseCodeInterpreterCallInProgressEvent
Source§fn eq(&self, other: &ResponseCodeInterpreterCallInProgressEvent) -> bool
fn eq(&self, other: &ResponseCodeInterpreterCallInProgressEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseCodeInterpreterCallInProgressEvent
Auto Trait Implementations§
impl Freeze for ResponseCodeInterpreterCallInProgressEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallInProgressEvent
impl Send for ResponseCodeInterpreterCallInProgressEvent
impl Sync for ResponseCodeInterpreterCallInProgressEvent
impl Unpin for ResponseCodeInterpreterCallInProgressEvent
impl UnwindSafe for ResponseCodeInterpreterCallInProgressEvent
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