pub struct ResponseReasoningSummaryDeltaEvent {
pub item_id: String,
pub output_index: u64,
pub summary_index: u64,
pub sequence_number: u64,
pub delta: HashMap<String, Value>,
}
Expand description
Emitted when there is a delta (partial update) to the reasoning summary content.
Fields§
§item_id: String
The unique identifier of the item for which the reasoning summary is being updated.
output_index: u64
The index of the output item in the response’s output array.
summary_index: u64
The index of the summary part within the output item.
sequence_number: u64
The sequence number of this event.
delta: HashMap<String, Value>
The partial update to the reasoning summary content.
Implementations§
Source§impl ResponseReasoningSummaryDeltaEvent
impl ResponseReasoningSummaryDeltaEvent
Sourcepub fn builder() -> ResponseReasoningSummaryDeltaEventBuilder<((), (), (), (), ())>
pub fn builder() -> ResponseReasoningSummaryDeltaEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningSummaryDeltaEvent
.
On the builder, call .item_id(...)
, .output_index(...)
, .summary_index(...)
, .sequence_number(...)
, .delta(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseReasoningSummaryDeltaEvent
.
Trait Implementations§
Source§impl Clone for ResponseReasoningSummaryDeltaEvent
impl Clone for ResponseReasoningSummaryDeltaEvent
Source§fn clone(&self) -> ResponseReasoningSummaryDeltaEvent
fn clone(&self) -> ResponseReasoningSummaryDeltaEvent
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 ResponseReasoningSummaryDeltaEvent
impl<'de> Deserialize<'de> for ResponseReasoningSummaryDeltaEvent
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 ResponseReasoningSummaryDeltaEvent
impl PartialEq for ResponseReasoningSummaryDeltaEvent
Source§fn eq(&self, other: &ResponseReasoningSummaryDeltaEvent) -> bool
fn eq(&self, other: &ResponseReasoningSummaryDeltaEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseReasoningSummaryDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningSummaryDeltaEvent
impl RefUnwindSafe for ResponseReasoningSummaryDeltaEvent
impl Send for ResponseReasoningSummaryDeltaEvent
impl Sync for ResponseReasoningSummaryDeltaEvent
impl Unpin for ResponseReasoningSummaryDeltaEvent
impl UnwindSafe for ResponseReasoningSummaryDeltaEvent
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