pub struct ResponseReasoningItem {
pub id: Option<String>,
pub content: Option<Vec<ReasoningContent>>,
pub summary: Vec<ReasoningSummary>,
pub status: Option<ItemStatus>,
}Expand description
A reasoning item (chain-of-thought and/or summaries) from the model.
Fields§
§id: Option<String>The unique ID of the reasoning item.
content: Option<Vec<ReasoningContent>>The reasoning content. Providers that expose chain-of-thought text
(e.g. DeepSeek, Qwen) return reasoning_text parts here; OpenAI
omits it unless requested.
summary: Vec<ReasoningSummary>Summaries of the reasoning content.
status: Option<ItemStatus>The status of the reasoning item.
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<'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
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