pub struct ResponseCodeInterpreterCallInterpretingEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: String,
}Expand description
Emitted when the code interpreter is actively interpreting the code snippet.
Fields§
§item_id: StringThe unique identifier of the code interpreter tool call item.
output_index: i64The index of the output item in the response for which the code interpreter is
sequence_number: i64The sequence number of this event, used to order streaming events.
type_: StringThe type of the event. Always response.code_interpreter_call.interpreting.
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for ResponseCodeInterpreterCallInterpretingEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallInterpretingEvent
impl Send for ResponseCodeInterpreterCallInterpretingEvent
impl Sync for ResponseCodeInterpreterCallInterpretingEvent
impl Unpin for ResponseCodeInterpreterCallInterpretingEvent
impl UnsafeUnpin 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