pub struct SessionReasoningAction {
pub turn_id: String,
pub part_id: String,
pub content: String,
}Expand description
Reasoning/thinking text from the model, appended to a specific reasoning response part.
The server MUST first emit a session/responsePart to create the target
reasoning part, then use this action to append text to it.
Fields§
§turn_id: StringTurn identifier
part_id: StringIdentifier of the reasoning response part to append to
content: StringReasoning text chunk
Trait Implementations§
Source§impl Clone for SessionReasoningAction
impl Clone for SessionReasoningAction
Source§fn clone(&self) -> SessionReasoningAction
fn clone(&self) -> SessionReasoningAction
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 SessionReasoningAction
impl Debug for SessionReasoningAction
Source§impl<'de> Deserialize<'de> for SessionReasoningAction
impl<'de> Deserialize<'de> for SessionReasoningAction
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 SessionReasoningAction
impl PartialEq for SessionReasoningAction
Source§fn eq(&self, other: &SessionReasoningAction) -> bool
fn eq(&self, other: &SessionReasoningAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionReasoningAction
impl Serialize for SessionReasoningAction
impl StructuralPartialEq for SessionReasoningAction
Auto Trait Implementations§
impl Freeze for SessionReasoningAction
impl RefUnwindSafe for SessionReasoningAction
impl Send for SessionReasoningAction
impl Sync for SessionReasoningAction
impl Unpin for SessionReasoningAction
impl UnsafeUnpin for SessionReasoningAction
impl UnwindSafe for SessionReasoningAction
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