pub struct ResponseReasoningItem {
pub id: String,
pub summary: Vec<ReasoningItemSummary>,
pub type_: String,
pub content: Option<Vec<ReasoningItemContent>>,
pub encrypted_content: Option<String>,
pub status: Option<ResponseReasoningItemStatus>,
}Expand description
A description of the chain of thought used by a reasoning model while generating
Fields§
§id: StringThe unique identifier of the reasoning content.
summary: Vec<ReasoningItemSummary>Reasoning summary content.
type_: StringThe type of the object. Always reasoning.
content: Option<Vec<ReasoningItemContent>>Reasoning text content.
encrypted_content: Option<String>The encrypted content of the reasoning item - populated when a response is
status: Option<ResponseReasoningItemStatus>The status of the 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