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