pub struct ToolUseInfo {
pub id: String,
pub name: String,
pub input: Value,
}Expand description
Information about a tool use request
Fields§
§id: StringUnique ID for this tool use
name: StringName of the tool
input: ValueInput parameters as JSON
Trait Implementations§
Source§impl Clone for ToolUseInfo
impl Clone for ToolUseInfo
Source§fn clone(&self) -> ToolUseInfo
fn clone(&self) -> ToolUseInfo
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 ToolUseInfo
impl RefUnwindSafe for ToolUseInfo
impl Send for ToolUseInfo
impl Sync for ToolUseInfo
impl Unpin for ToolUseInfo
impl UnwindSafe for ToolUseInfo
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