pub struct AssistantReasoning {
pub provider: String,
pub model: String,
pub blocks: Vec<ReasoningBlock>,
}Expand description
Reasoning payload for one assistant message, stamped with the identity that produced it. Request-history metadata only — never display content.
Fields§
§provider: StringConfig provider key that produced the blocks (e.g. anthropic, my-gateway).
model: StringModel id that produced the blocks (e.g. claude-sonnet-4-5).
blocks: Vec<ReasoningBlock>Provider-native blocks in stream order.
Trait Implementations§
Source§impl Clone for AssistantReasoning
impl Clone for AssistantReasoning
Source§fn clone(&self) -> AssistantReasoning
fn clone(&self) -> AssistantReasoning
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 AssistantReasoning
impl Debug for AssistantReasoning
Source§impl<'de> Deserialize<'de> for AssistantReasoning
impl<'de> Deserialize<'de> for AssistantReasoning
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 AssistantReasoning
impl PartialEq for AssistantReasoning
Source§impl Serialize for AssistantReasoning
impl Serialize for AssistantReasoning
impl StructuralPartialEq for AssistantReasoning
Auto Trait Implementations§
impl Freeze for AssistantReasoning
impl RefUnwindSafe for AssistantReasoning
impl Send for AssistantReasoning
impl Sync for AssistantReasoning
impl Unpin for AssistantReasoning
impl UnsafeUnpin for AssistantReasoning
impl UnwindSafe for AssistantReasoning
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