pub struct ToolCallEvent {
pub type: Value,
pub call: FunctionCall,
}Expand description
Represents a request to execute a tool.
Fields§
§type: Value§call: FunctionCallTrait Implementations§
Source§impl Clone for ToolCallEvent
impl Clone for ToolCallEvent
Source§fn clone(&self) -> ToolCallEvent
fn clone(&self) -> ToolCallEvent
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 ToolCallEvent
impl RefUnwindSafe for ToolCallEvent
impl Send for ToolCallEvent
impl Sync for ToolCallEvent
impl Unpin for ToolCallEvent
impl UnwindSafe for ToolCallEvent
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