pub struct ResponseReasoningSummaryPartDoneEventPart {
pub text: String,
pub type_: ResponseReasoningSummaryPartDoneEventPartType,
}Expand description
The completed summary part.
JSON schema
{
"description": "The completed summary part.\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_: ResponseReasoningSummaryPartDoneEventPartTypeThe type of the summary part. Always summary_text.
Trait Implementations§
Source§impl Clone for ResponseReasoningSummaryPartDoneEventPart
impl Clone for ResponseReasoningSummaryPartDoneEventPart
Source§fn clone(&self) -> ResponseReasoningSummaryPartDoneEventPart
fn clone(&self) -> ResponseReasoningSummaryPartDoneEventPart
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 ResponseReasoningSummaryPartDoneEventPart
impl<'de> Deserialize<'de> for ResponseReasoningSummaryPartDoneEventPart
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 ResponseReasoningSummaryPartDoneEventPart
impl RefUnwindSafe for ResponseReasoningSummaryPartDoneEventPart
impl Send for ResponseReasoningSummaryPartDoneEventPart
impl Sync for ResponseReasoningSummaryPartDoneEventPart
impl Unpin for ResponseReasoningSummaryPartDoneEventPart
impl UnsafeUnpin for ResponseReasoningSummaryPartDoneEventPart
impl UnwindSafe for ResponseReasoningSummaryPartDoneEventPart
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