pub struct ToolDispatch {
pub args: String,
pub agent: String,
pub sender: String,
pub conversation_id: Option<u64>,
}Expand description
Arguments passed to a tool handler during dispatch.
Fields§
§args: StringJSON-encoded arguments string.
agent: StringName of the agent making this call.
sender: StringSender identity (empty for local/owner conversations).
conversation_id: Option<u64>Conversation ID, if running within a conversation.
Trait Implementations§
Source§impl Clone for ToolDispatch
impl Clone for ToolDispatch
Source§fn clone(&self) -> ToolDispatch
fn clone(&self) -> ToolDispatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolDispatch
impl RefUnwindSafe for ToolDispatch
impl Send for ToolDispatch
impl Sync for ToolDispatch
impl Unpin for ToolDispatch
impl UnsafeUnpin for ToolDispatch
impl UnwindSafe for ToolDispatch
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