pub struct ReasoningResponsePart {
pub id: String,
pub content: String,
}Expand description
Reasoning/thinking content from the model.
Fields§
§id: StringPart identifier, used by chat/reasoning to target this part for content appends
content: StringAccumulated reasoning text
Trait Implementations§
Source§impl Clone for ReasoningResponsePart
impl Clone for ReasoningResponsePart
Source§fn clone(&self) -> ReasoningResponsePart
fn clone(&self) -> ReasoningResponsePart
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 ReasoningResponsePart
impl Debug for ReasoningResponsePart
Source§impl<'de> Deserialize<'de> for ReasoningResponsePart
impl<'de> Deserialize<'de> for ReasoningResponsePart
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 ReasoningResponsePart
impl PartialEq for ReasoningResponsePart
Source§fn eq(&self, other: &ReasoningResponsePart) -> bool
fn eq(&self, other: &ReasoningResponsePart) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasoningResponsePart
impl Serialize for ReasoningResponsePart
impl StructuralPartialEq for ReasoningResponsePart
Auto Trait Implementations§
impl Freeze for ReasoningResponsePart
impl RefUnwindSafe for ReasoningResponsePart
impl Send for ReasoningResponsePart
impl Sync for ReasoningResponsePart
impl Unpin for ReasoningResponsePart
impl UnsafeUnpin for ReasoningResponsePart
impl UnwindSafe for ReasoningResponsePart
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