pub struct ChatResponsePartAction {
pub turn_id: String,
pub part: ResponsePart,
pub meta: Option<JsonObject>,
}Expand description
Structured content appended to the response.
Fields§
§turn_id: StringTurn identifier
part: ResponsePartResponse part (markdown or content ref)
meta: Option<JsonObject>Additional provider-specific metadata for this action.
Clients MAY look for well-known keys here to provide enhanced UI, and
agent hosts MAY use it to carry per-event context that does not fit any
other field — for example, attributing the event to a specific agent
(such as a sub-agent acting within the turn). Mirrors the MCP _meta
convention.
Trait Implementations§
Source§impl Clone for ChatResponsePartAction
impl Clone for ChatResponsePartAction
Source§fn clone(&self) -> ChatResponsePartAction
fn clone(&self) -> ChatResponsePartAction
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 ChatResponsePartAction
impl Debug for ChatResponsePartAction
Source§impl<'de> Deserialize<'de> for ChatResponsePartAction
impl<'de> Deserialize<'de> for ChatResponsePartAction
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 ChatResponsePartAction
impl PartialEq for ChatResponsePartAction
Source§fn eq(&self, other: &ChatResponsePartAction) -> bool
fn eq(&self, other: &ChatResponsePartAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatResponsePartAction
impl Serialize for ChatResponsePartAction
impl StructuralPartialEq for ChatResponsePartAction
Auto Trait Implementations§
impl Freeze for ChatResponsePartAction
impl RefUnwindSafe for ChatResponsePartAction
impl Send for ChatResponsePartAction
impl Sync for ChatResponsePartAction
impl Unpin for ChatResponsePartAction
impl UnsafeUnpin for ChatResponsePartAction
impl UnwindSafe for ChatResponsePartAction
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