#[repr(C)]pub struct EventToolCall {
pub tool_call_id: StbString,
pub tool_name: StbString,
pub params: StbString,
}Expand description
A tool-call payload (tool_call, tool_execution_start/update).
tool_call_id + tool_name are raw strings; params is the JSON args.
Fields§
§tool_call_id: StbString§tool_name: StbString§params: StbStringTrait Implementations§
Source§impl Clone for EventToolCall
impl Clone for EventToolCall
Source§fn clone(&self) -> EventToolCall
fn clone(&self) -> EventToolCall
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 moreimpl Copy for EventToolCall
Auto Trait Implementations§
impl Freeze for EventToolCall
impl RefUnwindSafe for EventToolCall
impl Send for EventToolCall
impl Sync for EventToolCall
impl Unpin for EventToolCall
impl UnsafeUnpin for EventToolCall
impl UnwindSafe for EventToolCall
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