pub struct ResponseReasoningTextDeltaEvent {
    pub item_id: String,
    pub output_index: i64,
    pub content_index: i64,
    pub delta: String,
    pub sequence_number: i64,
}Expand description
Emitted when a delta is added to a reasoning text.
Fields§
§item_id: StringThe ID of the item this reasoning text delta is associated with.
output_index: i64The index of the output item this reasoning text delta is associated with.
content_index: i64The index of the reasoning content part this delta is associated with.
delta: StringThe text delta that was added to the reasoning content.
sequence_number: i64The sequence number of this event.
Implementations§
Source§impl ResponseReasoningTextDeltaEvent
 
impl ResponseReasoningTextDeltaEvent
Sourcepub fn builder() -> ResponseReasoningTextDeltaEventBuilder<((), (), (), (), ())>
 
pub fn builder() -> ResponseReasoningTextDeltaEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningTextDeltaEvent.
On the builder, call .item_id(...), .output_index(...), .content_index(...), .delta(...), .sequence_number(...) to set the values of the fields.
Finally, call .build() to create the instance of ResponseReasoningTextDeltaEvent.
Trait Implementations§
Source§impl Clone for ResponseReasoningTextDeltaEvent
 
impl Clone for ResponseReasoningTextDeltaEvent
Source§fn clone(&self) -> ResponseReasoningTextDeltaEvent
 
fn clone(&self) -> ResponseReasoningTextDeltaEvent
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 ResponseReasoningTextDeltaEvent
 
impl<'de> Deserialize<'de> for ResponseReasoningTextDeltaEvent
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 ResponseReasoningTextDeltaEvent
 
impl PartialEq for ResponseReasoningTextDeltaEvent
Source§fn eq(&self, other: &ResponseReasoningTextDeltaEvent) -> bool
 
fn eq(&self, other: &ResponseReasoningTextDeltaEvent) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseReasoningTextDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningTextDeltaEvent
impl RefUnwindSafe for ResponseReasoningTextDeltaEvent
impl Send for ResponseReasoningTextDeltaEvent
impl Sync for ResponseReasoningTextDeltaEvent
impl Unpin for ResponseReasoningTextDeltaEvent
impl UnwindSafe for ResponseReasoningTextDeltaEvent
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