pub struct ResponseCodeInterpreterCallCodeDeltaEvent {
pub delta: String,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: String,
}Expand description
Emitted when a partial code snippet is streamed by the code interpreter.
Fields§
§delta: StringThe partial code snippet being streamed by the code interpreter.
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 is being
sequence_number: i64The sequence number of this event, used to order streaming events.
type_: StringThe type of the event. Always response.code_interpreter_call_code.delta.
Trait Implementations§
Source§impl Clone for ResponseCodeInterpreterCallCodeDeltaEvent
impl Clone for ResponseCodeInterpreterCallCodeDeltaEvent
Source§fn clone(&self) -> ResponseCodeInterpreterCallCodeDeltaEvent
fn clone(&self) -> ResponseCodeInterpreterCallCodeDeltaEvent
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 ResponseCodeInterpreterCallCodeDeltaEvent
impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallCodeDeltaEvent
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 ResponseCodeInterpreterCallCodeDeltaEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallCodeDeltaEvent
impl Send for ResponseCodeInterpreterCallCodeDeltaEvent
impl Sync for ResponseCodeInterpreterCallCodeDeltaEvent
impl Unpin for ResponseCodeInterpreterCallCodeDeltaEvent
impl UnsafeUnpin for ResponseCodeInterpreterCallCodeDeltaEvent
impl UnwindSafe for ResponseCodeInterpreterCallCodeDeltaEvent
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