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