pub struct StreamingToolEvent {
pub message_id: Uuid,
pub tool: String,
pub payload: Value,
}Expand description
Tool-invocation trace (StreamingEvent::Tool), e.g. a file search the
plugin ran; appended to the finalized message’s metadata under tools.
Fields§
§message_id: UuidID of the assistant message this tool call belongs to.
tool: StringTool identifier (e.g. file_search).
payload: ValueTool-specific payload (query, results, status).
Trait Implementations§
Source§impl Clone for StreamingToolEvent
impl Clone for StreamingToolEvent
Source§fn clone(&self) -> StreamingToolEvent
fn clone(&self) -> StreamingToolEvent
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 StreamingToolEvent
impl Debug for StreamingToolEvent
Source§impl<'de> Deserialize<'de> for StreamingToolEvent
impl<'de> Deserialize<'de> for StreamingToolEvent
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
Auto Trait Implementations§
impl Freeze for StreamingToolEvent
impl RefUnwindSafe for StreamingToolEvent
impl Send for StreamingToolEvent
impl Sync for StreamingToolEvent
impl Unpin for StreamingToolEvent
impl UnsafeUnpin for StreamingToolEvent
impl UnwindSafe for StreamingToolEvent
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