pub struct ReasoningPayload {
pub text: String,
pub signature: Option<String>,
}Expand description
Structured reasoning content: the model’s thinking text plus the optional provider signature some APIs attach so it can be replayed on later turns. Recorded as-is by callers; the kernel does not interpret or persist it.
Fields§
§text: StringThe model’s thinking text.
signature: Option<String>Provider signature that lets the reasoning be replayed on later turns, when the provider issues one.
Trait Implementations§
Source§impl Clone for ReasoningPayload
impl Clone for ReasoningPayload
Source§fn clone(&self) -> ReasoningPayload
fn clone(&self) -> ReasoningPayload
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 ReasoningPayload
impl Debug for ReasoningPayload
Source§impl Default for ReasoningPayload
impl Default for ReasoningPayload
Source§fn default() -> ReasoningPayload
fn default() -> ReasoningPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningPayload
impl<'de> Deserialize<'de> for ReasoningPayload
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 ReasoningPayload
impl RefUnwindSafe for ReasoningPayload
impl Send for ReasoningPayload
impl Sync for ReasoningPayload
impl Unpin for ReasoningPayload
impl UnsafeUnpin for ReasoningPayload
impl UnwindSafe for ReasoningPayload
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