pub struct ToolExchange {
pub name: String,
pub arguments_json: String,
pub result_json: String,
}Expand description
One completed tool call and its result.
Fields§
§name: String§arguments_json: String§result_json: StringTrait Implementations§
Source§impl Clone for ToolExchange
impl Clone for ToolExchange
Source§fn clone(&self) -> ToolExchange
fn clone(&self) -> ToolExchange
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 moreAuto Trait Implementations§
impl Freeze for ToolExchange
impl RefUnwindSafe for ToolExchange
impl Send for ToolExchange
impl Sync for ToolExchange
impl Unpin for ToolExchange
impl UnsafeUnpin for ToolExchange
impl UnwindSafe for ToolExchange
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