pub struct ResponseReasoningSummaryTextDoneEvent {
pub item_id: String,
pub output_index: i64,
pub summary_index: i64,
pub text: String,
pub sequence_number: i64,
}
Expand description
Emitted when a reasoning summary text is completed.
Fields§
§item_id: String
The ID of the item this summary text is associated with.
output_index: i64
The index of the output item this summary text is associated with.
summary_index: i64
The index of the summary part within the reasoning summary.
text: String
The full text of the completed reasoning summary.
sequence_number: i64
The sequence number of this event.
Implementations§
Source§impl ResponseReasoningSummaryTextDoneEvent
impl ResponseReasoningSummaryTextDoneEvent
Sourcepub fn builder() -> ResponseReasoningSummaryTextDoneEventBuilder<((), (), (), (), ())>
pub fn builder() -> ResponseReasoningSummaryTextDoneEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningSummaryTextDoneEvent
.
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 ResponseReasoningSummaryTextDoneEvent
.
Trait Implementations§
Source§impl Clone for ResponseReasoningSummaryTextDoneEvent
impl Clone for ResponseReasoningSummaryTextDoneEvent
Source§fn clone(&self) -> ResponseReasoningSummaryTextDoneEvent
fn clone(&self) -> ResponseReasoningSummaryTextDoneEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for ResponseReasoningSummaryTextDoneEvent
impl<'de> Deserialize<'de> for ResponseReasoningSummaryTextDoneEvent
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 ResponseReasoningSummaryTextDoneEvent
impl PartialEq for ResponseReasoningSummaryTextDoneEvent
Source§fn eq(&self, other: &ResponseReasoningSummaryTextDoneEvent) -> bool
fn eq(&self, other: &ResponseReasoningSummaryTextDoneEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseReasoningSummaryTextDoneEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningSummaryTextDoneEvent
impl RefUnwindSafe for ResponseReasoningSummaryTextDoneEvent
impl Send for ResponseReasoningSummaryTextDoneEvent
impl Sync for ResponseReasoningSummaryTextDoneEvent
impl Unpin for ResponseReasoningSummaryTextDoneEvent
impl UnwindSafe for ResponseReasoningSummaryTextDoneEvent
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