pub struct ReasoningItem {
pub id: String,
pub summary: Vec<SummaryText>,
pub encrypted_content: Option<String>,
pub status: Option<OutputStatus>,
}
Expand description
A reasoning item representing the model’s chain of thought, including summary paragraphs.
Fields§
§id: String
Unique identifier of the reasoning content.
summary: Vec<SummaryText>
The summarized chain-of-thought paragraphs.
encrypted_content: Option<String>
The encrypted content of the reasoning item - populated when a response is generated with
reasoning.encrypted_content
in the include
parameter.
status: Option<OutputStatus>
The status of the reasoning item.
Trait Implementations§
Source§impl Clone for ReasoningItem
impl Clone for ReasoningItem
Source§fn clone(&self) -> ReasoningItem
fn clone(&self) -> ReasoningItem
Returns a duplicate of the value. Read more
1.0.0 · 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 ReasoningItem
impl Debug for ReasoningItem
Source§impl<'de> Deserialize<'de> for ReasoningItem
impl<'de> Deserialize<'de> for ReasoningItem
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 ReasoningItem
impl PartialEq for ReasoningItem
Source§impl Serialize for ReasoningItem
impl Serialize for ReasoningItem
impl StructuralPartialEq for ReasoningItem
Auto Trait Implementations§
impl Freeze for ReasoningItem
impl RefUnwindSafe for ReasoningItem
impl Send for ReasoningItem
impl Sync for ReasoningItem
impl Unpin for ReasoningItem
impl UnwindSafe for ReasoningItem
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