pub struct ResponseReasoningSummaryPartAddedEvent {
pub item_id: String,
pub output_index: u64,
pub summary_index: u64,
pub sequence_number: u64,
pub part: ResponseReasoningSummaryPartAddedEventPart,
}
Expand description
Emitted when a new reasoning summary part is added.
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: ResponseReasoningSummaryPartAddedEventPart
The summary part that was added.
Implementations§
Source§impl ResponseReasoningSummaryPartAddedEvent
impl ResponseReasoningSummaryPartAddedEvent
Sourcepub fn builder() -> ResponseReasoningSummaryPartAddedEventBuilder<((), (), (), (), ())>
pub fn builder() -> ResponseReasoningSummaryPartAddedEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningSummaryPartAddedEvent
.
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 ResponseReasoningSummaryPartAddedEvent
.
Trait Implementations§
Source§impl Clone for ResponseReasoningSummaryPartAddedEvent
impl Clone for ResponseReasoningSummaryPartAddedEvent
Source§fn clone(&self) -> ResponseReasoningSummaryPartAddedEvent
fn clone(&self) -> ResponseReasoningSummaryPartAddedEvent
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 ResponseReasoningSummaryPartAddedEvent
impl<'de> Deserialize<'de> for ResponseReasoningSummaryPartAddedEvent
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 ResponseReasoningSummaryPartAddedEvent
impl PartialEq for ResponseReasoningSummaryPartAddedEvent
Source§fn eq(&self, other: &ResponseReasoningSummaryPartAddedEvent) -> bool
fn eq(&self, other: &ResponseReasoningSummaryPartAddedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseReasoningSummaryPartAddedEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningSummaryPartAddedEvent
impl RefUnwindSafe for ResponseReasoningSummaryPartAddedEvent
impl Send for ResponseReasoningSummaryPartAddedEvent
impl Sync for ResponseReasoningSummaryPartAddedEvent
impl Unpin for ResponseReasoningSummaryPartAddedEvent
impl UnwindSafe for ResponseReasoningSummaryPartAddedEvent
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