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