pub struct ChatToolCallDeltaAction {
pub turn_id: String,
pub tool_call_id: String,
pub meta: Option<JsonObject>,
pub content: String,
pub invocation_message: Option<StringOrMarkdown>,
}Expand description
Streaming partial parameters for a tool call.
Fields§
§turn_id: StringTurn identifier
tool_call_id: StringTool call identifier
meta: Option<JsonObject>Additional provider-specific metadata for this tool call.
Clients MAY look for well-known keys here to provide enhanced UI.
For example, a ptyTerminal key with { input: string; output: string }
indicates the tool operated on a terminal (both input and output may
contain escape sequences).
content: StringPartial parameter content to append
invocation_message: Option<StringOrMarkdown>Updated progress message
Trait Implementations§
Source§impl Clone for ChatToolCallDeltaAction
impl Clone for ChatToolCallDeltaAction
Source§fn clone(&self) -> ChatToolCallDeltaAction
fn clone(&self) -> ChatToolCallDeltaAction
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 ChatToolCallDeltaAction
impl Debug for ChatToolCallDeltaAction
Source§impl<'de> Deserialize<'de> for ChatToolCallDeltaAction
impl<'de> Deserialize<'de> for ChatToolCallDeltaAction
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 ChatToolCallDeltaAction
impl PartialEq for ChatToolCallDeltaAction
Source§fn eq(&self, other: &ChatToolCallDeltaAction) -> bool
fn eq(&self, other: &ChatToolCallDeltaAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatToolCallDeltaAction
impl Serialize for ChatToolCallDeltaAction
impl StructuralPartialEq for ChatToolCallDeltaAction
Auto Trait Implementations§
impl Freeze for ChatToolCallDeltaAction
impl RefUnwindSafe for ChatToolCallDeltaAction
impl Send for ChatToolCallDeltaAction
impl Sync for ChatToolCallDeltaAction
impl Unpin for ChatToolCallDeltaAction
impl UnsafeUnpin for ChatToolCallDeltaAction
impl UnwindSafe for ChatToolCallDeltaAction
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