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