pub struct ResponseReasoningTextDeltaEvent {
pub sequence_number: i64,
pub item_id: String,
pub output_index: i64,
pub content_index: i64,
pub delta: String,
}Expand description
Emitted when there is a reasoning text delta.
Fields§
§sequence_number: i64Sequence number.
item_id: StringThe ID of the item.
output_index: i64Index of the output item.
content_index: i64Index of the content part.
delta: StringThe reasoning text delta.
Trait Implementations§
Source§impl Clone for ResponseReasoningTextDeltaEvent
impl Clone for ResponseReasoningTextDeltaEvent
Source§fn clone(&self) -> ResponseReasoningTextDeltaEvent
fn clone(&self) -> ResponseReasoningTextDeltaEvent
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 ResponseReasoningTextDeltaEvent
impl<'de> Deserialize<'de> for ResponseReasoningTextDeltaEvent
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 ResponseReasoningTextDeltaEvent
impl RefUnwindSafe for ResponseReasoningTextDeltaEvent
impl Send for ResponseReasoningTextDeltaEvent
impl Sync for ResponseReasoningTextDeltaEvent
impl Unpin for ResponseReasoningTextDeltaEvent
impl UnsafeUnpin for ResponseReasoningTextDeltaEvent
impl UnwindSafe for ResponseReasoningTextDeltaEvent
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