pub struct ResponseReasoningTextDoneEvent {
pub item_id: String,
pub output_index: i64,
pub content_index: i64,
pub text: String,
pub sequence_number: i64,
}
Expand description
Emitted when a reasoning text is completed.
Fields§
§item_id: String
The ID of the item this reasoning text is associated with.
output_index: i64
The index of the output item this reasoning text is associated with.
content_index: i64
The index of the reasoning content part.
text: String
The full text of the completed reasoning content.
sequence_number: i64
The sequence number of this event.
Implementations§
Source§impl ResponseReasoningTextDoneEvent
impl ResponseReasoningTextDoneEvent
Sourcepub fn builder() -> ResponseReasoningTextDoneEventBuilder<((), (), (), (), ())>
pub fn builder() -> ResponseReasoningTextDoneEventBuilder<((), (), (), (), ())>
Create a builder for building ResponseReasoningTextDoneEvent
.
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 ResponseReasoningTextDoneEvent
.
Trait Implementations§
Source§impl Clone for ResponseReasoningTextDoneEvent
impl Clone for ResponseReasoningTextDoneEvent
Source§fn clone(&self) -> ResponseReasoningTextDoneEvent
fn clone(&self) -> ResponseReasoningTextDoneEvent
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 ResponseReasoningTextDoneEvent
impl<'de> Deserialize<'de> for ResponseReasoningTextDoneEvent
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 ResponseReasoningTextDoneEvent
impl PartialEq for ResponseReasoningTextDoneEvent
Source§fn eq(&self, other: &ResponseReasoningTextDoneEvent) -> bool
fn eq(&self, other: &ResponseReasoningTextDoneEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseReasoningTextDoneEvent
Auto Trait Implementations§
impl Freeze for ResponseReasoningTextDoneEvent
impl RefUnwindSafe for ResponseReasoningTextDoneEvent
impl Send for ResponseReasoningTextDoneEvent
impl Sync for ResponseReasoningTextDoneEvent
impl Unpin for ResponseReasoningTextDoneEvent
impl UnwindSafe for ResponseReasoningTextDoneEvent
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