pub enum ReasoningItemContent {
ReasoningText(ReasoningTextContent),
}Available on crate feature
response-types only.Expand description
ReasoningTextContent used elsewhere which adds type, but here in ReasoningItem content field we need type too hence an enum:
Variants§
ReasoningText(ReasoningTextContent)
Trait Implementations§
Source§impl Clone for ReasoningItemContent
impl Clone for ReasoningItemContent
Source§fn clone(&self) -> ReasoningItemContent
fn clone(&self) -> ReasoningItemContent
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 ReasoningItemContent
impl Debug for ReasoningItemContent
Source§impl<'de> Deserialize<'de> for ReasoningItemContent
impl<'de> Deserialize<'de> for ReasoningItemContent
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 ReasoningItemContent
impl PartialEq for ReasoningItemContent
Source§fn eq(&self, other: &ReasoningItemContent) -> bool
fn eq(&self, other: &ReasoningItemContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasoningItemContent
impl Serialize for ReasoningItemContent
impl StructuralPartialEq for ReasoningItemContent
Auto Trait Implementations§
impl Freeze for ReasoningItemContent
impl RefUnwindSafe for ReasoningItemContent
impl Send for ReasoningItemContent
impl Sync for ReasoningItemContent
impl Unpin for ReasoningItemContent
impl UnsafeUnpin for ReasoningItemContent
impl UnwindSafe for ReasoningItemContent
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