pub struct ResponseCodeInterpreterCallCodeDeltaEvent {
pub output_index: u64,
pub delta: String,
}
Expand description
Emitted when a partial code snippet is added by the code interpreter.
Fields§
§output_index: u64
The index of the output item that the code interpreter call is in progress.
delta: String
The partial code snippet added by the code interpreter.
Implementations§
Source§impl ResponseCodeInterpreterCallCodeDeltaEvent
impl ResponseCodeInterpreterCallCodeDeltaEvent
Sourcepub fn builder() -> ResponseCodeInterpreterCallCodeDeltaEventBuilder<((), ())>
pub fn builder() -> ResponseCodeInterpreterCallCodeDeltaEventBuilder<((), ())>
Create a builder for building ResponseCodeInterpreterCallCodeDeltaEvent
.
On the builder, call .output_index(...)
, .delta(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseCodeInterpreterCallCodeDeltaEvent
.
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 · 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
Source§impl PartialEq for ResponseCodeInterpreterCallCodeDeltaEvent
impl PartialEq for ResponseCodeInterpreterCallCodeDeltaEvent
Source§fn eq(&self, other: &ResponseCodeInterpreterCallCodeDeltaEvent) -> bool
fn eq(&self, other: &ResponseCodeInterpreterCallCodeDeltaEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseCodeInterpreterCallCodeDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseCodeInterpreterCallCodeDeltaEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallCodeDeltaEvent
impl Send for ResponseCodeInterpreterCallCodeDeltaEvent
impl Sync for ResponseCodeInterpreterCallCodeDeltaEvent
impl Unpin 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