pub struct ReasoningItem {
pub id: String,
pub summary: Vec<ReasoningItemSummary>,
pub status: Option<ReasoningItemStatus>,
}
Expand description
A description of the chain of thought used by a reasoning model while generating a response.
Fields§
§id: String
The unique identifier of the reasoning content.
summary: Vec<ReasoningItemSummary>
Reasoning text contents.
status: Option<ReasoningItemStatus>
The status of the item. One of in_progress
, completed
, or
incomplete
. Populated when items are returned via API.
Implementations§
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