pub struct ResponseReasoningSummaryPartAddedEvent {
pub item_id: String,
pub output_index: i64,
pub part: ResponseReasoningSummaryPartAddedEventPart,
pub sequence_number: i64,
pub summary_index: i64,
pub type_: ResponseReasoningSummaryPartAddedEventType,
}Expand description
Emitted when a new reasoning summary part is added.
JSON schema
{
"description": "Emitted when a new reasoning summary part is added.",
"type": "object",
"required": [
"item_id",
"output_index",
"part",
"sequence_number",
"summary_index",
"type"
],
"properties": {
"item_id": {
"description": "The ID of the item this summary part is associated with.\n",
"type": "string"
},
"output_index": {
"description": "The index of the output item this summary part is associated with.\n",
"type": "integer"
},
"part": {
"description": "The summary part that was added.\n",
"type": "object",
"required": [
"text",
"type"
],
"properties": {
"text": {
"description": "The text of the summary part.",
"type": "string"
},
"type": {
"description": "The type of the summary part. Always `summary_text`.",
"type": "string",
"enum": [
"summary_text"
],
"x-stainless-const": true
}
}
},
"sequence_number": {
"description": "The sequence number of this event.\n",
"type": "integer"
},
"summary_index": {
"description": "The index of the summary part within the reasoning summary.\n",
"type": "integer"
},
"type": {
"description": "The type of the event. Always `response.reasoning_summary_part.added`.\n",
"type": "string",
"enum": [
"response.reasoning_summary_part.added"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.reasoning_summary_part.added"
}
}Fields§
§item_id: StringThe ID of the item this summary part is associated with.
output_index: i64The index of the output item this summary part is associated with.
part: ResponseReasoningSummaryPartAddedEventPart§sequence_number: i64The sequence number of this event.
summary_index: i64The index of the summary part within the reasoning summary.
type_: ResponseReasoningSummaryPartAddedEventTypeThe type of the event. Always response.reasoning_summary_part.added.
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 (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 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 From<ResponseReasoningSummaryPartAddedEvent> for ResponseStreamEvent
impl From<ResponseReasoningSummaryPartAddedEvent> for ResponseStreamEvent
Source§fn from(value: ResponseReasoningSummaryPartAddedEvent) -> Self
fn from(value: ResponseReasoningSummaryPartAddedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseReasoningSummaryPartAddedEvent
impl RefUnwindSafe for ResponseReasoningSummaryPartAddedEvent
impl Send for ResponseReasoningSummaryPartAddedEvent
impl Sync for ResponseReasoningSummaryPartAddedEvent
impl Unpin for ResponseReasoningSummaryPartAddedEvent
impl UnsafeUnpin 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