pub struct ResponseReasoningTextDoneEvent {
pub content_index: i64,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub text: String,
pub type_: String,
}Expand description
Emitted when a reasoning text is completed.
Fields§
§content_index: i64The index of the reasoning content part.
item_id: StringThe ID of the item this reasoning text is associated with.
output_index: i64The index of the output item this reasoning text is associated with.
sequence_number: i64The sequence number of this event.
text: StringThe full text of the completed reasoning content.
type_: StringThe type of the event. Always response.reasoning_text.done.
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for ResponseReasoningTextDoneEvent
impl RefUnwindSafe for ResponseReasoningTextDoneEvent
impl Send for ResponseReasoningTextDoneEvent
impl Sync for ResponseReasoningTextDoneEvent
impl Unpin for ResponseReasoningTextDoneEvent
impl UnsafeUnpin 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