pub struct ToolResultEvent {
pub type: Value,
pub result: FunctionResponse,
}Expand description
Represents the result of a tool execution.
Fields§
§type: Value§result: FunctionResponseTrait Implementations§
Source§impl Clone for ToolResultEvent
impl Clone for ToolResultEvent
Source§fn clone(&self) -> ToolResultEvent
fn clone(&self) -> ToolResultEvent
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 ToolResultEvent
impl RefUnwindSafe for ToolResultEvent
impl Send for ToolResultEvent
impl Sync for ToolResultEvent
impl Unpin for ToolResultEvent
impl UnwindSafe for ToolResultEvent
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