pub enum ReasoningContent {
ReasoningText {
text: String,
},
}Expand description
A content part of a ResponseReasoningItem.
Currently only the plaintext reasoning_text part is modeled; OpenAI
also defines summary_text parts here, but this crate carries summaries
in ResponseReasoningItem::summary instead.
Variants§
Trait Implementations§
Source§impl Clone for ReasoningContent
impl Clone for ReasoningContent
Source§fn clone(&self) -> ReasoningContent
fn clone(&self) -> ReasoningContent
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 ReasoningContent
impl Debug for ReasoningContent
Source§impl<'de> Deserialize<'de> for ReasoningContent
impl<'de> Deserialize<'de> for ReasoningContent
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 ReasoningContent
impl RefUnwindSafe for ReasoningContent
impl Send for ReasoningContent
impl Sync for ReasoningContent
impl Unpin for ReasoningContent
impl UnsafeUnpin for ReasoningContent
impl UnwindSafe for ReasoningContent
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