pub struct ResponseReasoningItem {
pub id: Option<String>,
pub summary: Vec<ResponseReasoningText>,
pub content: Vec<ResponseReasoningText>,
pub encrypted_content: Option<String>,
}Expand description
A reasoning (“thinking”) item. encrypted_content is opaque and MUST be echoed back
verbatim in the next request’s input to continue an encrypted reasoning turn (SPEC.md).
Fields§
§id: Option<String>§summary: Vec<ResponseReasoningText>Summarised reasoning; each entry serialises as {"type":"summary_text","text"}.
content: Vec<ResponseReasoningText>Full reasoning; each entry serialises as {"type":"reasoning_text","text"}.
encrypted_content: Option<String>Trait Implementations§
Source§impl Clone for ResponseReasoningItem
impl Clone for ResponseReasoningItem
Source§fn clone(&self) -> ResponseReasoningItem
fn clone(&self) -> ResponseReasoningItem
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 Debug for ResponseReasoningItem
impl Debug for ResponseReasoningItem
Source§impl Default for ResponseReasoningItem
impl Default for ResponseReasoningItem
Source§fn default() -> ResponseReasoningItem
fn default() -> ResponseReasoningItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseReasoningItem
impl<'de> Deserialize<'de> for ResponseReasoningItem
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 PartialEq for ResponseReasoningItem
impl PartialEq for ResponseReasoningItem
Source§impl Serialize for ResponseReasoningItem
impl Serialize for ResponseReasoningItem
impl StructuralPartialEq for ResponseReasoningItem
Auto Trait Implementations§
impl Freeze for ResponseReasoningItem
impl RefUnwindSafe for ResponseReasoningItem
impl Send for ResponseReasoningItem
impl Sync for ResponseReasoningItem
impl Unpin for ResponseReasoningItem
impl UnsafeUnpin for ResponseReasoningItem
impl UnwindSafe for ResponseReasoningItem
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