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