pub struct ReasoningTextPart {
pub text: String,
}Expand description
A plaintext reasoning content part.
Fields§
§text: StringThe chain-of-thought text.
Trait Implementations§
Source§impl Clone for ReasoningTextPart
impl Clone for ReasoningTextPart
Source§fn clone(&self) -> ReasoningTextPart
fn clone(&self) -> ReasoningTextPart
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 ReasoningTextPart
impl Debug for ReasoningTextPart
Source§impl<'de> Deserialize<'de> for ReasoningTextPart
impl<'de> Deserialize<'de> for ReasoningTextPart
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 ReasoningTextPart
impl RefUnwindSafe for ReasoningTextPart
impl Send for ReasoningTextPart
impl Sync for ReasoningTextPart
impl Unpin for ReasoningTextPart
impl UnsafeUnpin for ReasoningTextPart
impl UnwindSafe for ReasoningTextPart
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