pub struct ToolInvocationResult {}Expand description
ToolInvocationResult : Result returned by the tool after execution (can be string or object)
Implementations§
Source§impl ToolInvocationResult
impl ToolInvocationResult
Sourcepub fn new() -> ToolInvocationResult
pub fn new() -> ToolInvocationResult
Result returned by the tool after execution (can be string or object)
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 Default for ToolInvocationResult
impl Default for ToolInvocationResult
Source§fn default() -> ToolInvocationResult
fn default() -> ToolInvocationResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolInvocationResult
impl<'de> Deserialize<'de> for ToolInvocationResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 ==.Source§impl Serialize for ToolInvocationResult
impl Serialize for ToolInvocationResult
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