pub struct ToolInvocationResult {
pub invocation: ToolInvocation,
pub output: Value,
}Expand description
Result of dispatching one normalized ToolInvocation.
Fields§
§invocation: ToolInvocationThe normalized invocation that was dispatched.
output: ValueThe JSON result returned by the invoked tool.
Trait Implementations§
Source§impl Clone for ToolInvocationResult
impl Clone for ToolInvocationResult
Source§fn clone(&self) -> ToolInvocationResult
fn clone(&self) -> ToolInvocationResult
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 ToolInvocationResult
impl Debug for ToolInvocationResult
Source§impl PartialEq for ToolInvocationResult
impl PartialEq for ToolInvocationResult
Source§fn eq(&self, other: &ToolInvocationResult) -> bool
fn eq(&self, other: &ToolInvocationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolInvocationResult
Auto Trait Implementations§
impl Freeze for ToolInvocationResult
impl RefUnwindSafe for ToolInvocationResult
impl Send for ToolInvocationResult
impl Sync for ToolInvocationResult
impl Unpin for ToolInvocationResult
impl UnsafeUnpin for ToolInvocationResult
impl UnwindSafe for ToolInvocationResult
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