pub struct ResponseReasoningSummaryPartAddedEventPart {
pub text: String,
pub type_: ResponseReasoningSummaryPartAddedEventPartType,
}Expand description
The summary part that was added.
JSON schema
{
"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
}
}
}Fields§
§text: StringThe text of the summary part.
type_: ResponseReasoningSummaryPartAddedEventPartTypeThe type of the summary part. Always summary_text.
Trait Implementations§
Source§impl Clone for ResponseReasoningSummaryPartAddedEventPart
impl Clone for ResponseReasoningSummaryPartAddedEventPart
Source§fn clone(&self) -> ResponseReasoningSummaryPartAddedEventPart
fn clone(&self) -> ResponseReasoningSummaryPartAddedEventPart
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 ResponseReasoningSummaryPartAddedEventPart
impl<'de> Deserialize<'de> for ResponseReasoningSummaryPartAddedEventPart
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 ResponseReasoningSummaryPartAddedEventPart
impl RefUnwindSafe for ResponseReasoningSummaryPartAddedEventPart
impl Send for ResponseReasoningSummaryPartAddedEventPart
impl Sync for ResponseReasoningSummaryPartAddedEventPart
impl Unpin for ResponseReasoningSummaryPartAddedEventPart
impl UnsafeUnpin for ResponseReasoningSummaryPartAddedEventPart
impl UnwindSafe for ResponseReasoningSummaryPartAddedEventPart
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