pub struct ReasoningUIPart {
pub text: String,
pub state: Option<StreamState>,
pub provider_metadata: Option<Value>,
/* private fields */
}Expand description
Reasoning part.
Fields§
§text: StringThe reasoning text.
state: Option<StreamState>Optional streaming state.
provider_metadata: Option<Value>Optional provider metadata.
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningUIPart
impl Clone for ReasoningUIPart
Source§fn clone(&self) -> ReasoningUIPart
fn clone(&self) -> ReasoningUIPart
Returns a duplicate of the value. Read more
1.0.0 · 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 ReasoningUIPart
impl Debug for ReasoningUIPart
Source§impl<'de> Deserialize<'de> for ReasoningUIPart
impl<'de> Deserialize<'de> for ReasoningUIPart
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 ReasoningUIPart
impl PartialEq for ReasoningUIPart
Source§impl Serialize for ReasoningUIPart
impl Serialize for ReasoningUIPart
impl StructuralPartialEq for ReasoningUIPart
Auto Trait Implementations§
impl Freeze for ReasoningUIPart
impl RefUnwindSafe for ReasoningUIPart
impl Send for ReasoningUIPart
impl Sync for ReasoningUIPart
impl Unpin for ReasoningUIPart
impl UnwindSafe for ReasoningUIPart
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