pub struct ResponseReasoningDoneEvent {
pub item_id: String,
pub output_index: u64,
pub content_index: u64,
pub text: String,
pub sequence_number: u64,
}
Expand description
Emitted when the reasoning content is finalized for an item.
Fields§
§item_id: String
The unique identifier of the item for which reasoning is finalized.
output_index: u64
The index of the output item in the response’s output array.
content_index: u64
The index of the reasoning content part within the output item.
text: String
The finalized reasoning text.
sequence_number: u64
The sequence number of this event.
Implementations§
Source§impl ResponseReasoningDoneEvent
impl ResponseReasoningDoneEvent
Sourcepub fn builder() -> ResponseReasoningDoneEventBuilder<((), (), (), (), ())>
pub fn builder() -> ResponseReasoningDoneEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningDoneEvent
.
On the builder, call .item_id(...)
, .output_index(...)
, .content_index(...)
, .text(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseReasoningDoneEvent
.
Trait Implementations§
Source§impl Clone for ResponseReasoningDoneEvent
impl Clone for ResponseReasoningDoneEvent
Source§fn clone(&self) -> ResponseReasoningDoneEvent
fn clone(&self) -> ResponseReasoningDoneEvent
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 Debug for ResponseReasoningDoneEvent
impl Debug for ResponseReasoningDoneEvent
Source§impl<'de> Deserialize<'de> for ResponseReasoningDoneEvent
impl<'de> Deserialize<'de> for ResponseReasoningDoneEvent
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
impl StructuralPartialEq for ResponseReasoningDoneEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningDoneEvent
impl RefUnwindSafe for ResponseReasoningDoneEvent
impl Send for ResponseReasoningDoneEvent
impl Sync for ResponseReasoningDoneEvent
impl Unpin for ResponseReasoningDoneEvent
impl UnwindSafe for ResponseReasoningDoneEvent
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