pub struct ToolUseRef<'a> {
pub id: &'a str,
pub name: &'a str,
pub input: &'a Value,
}Expand description
A reference to a tool use entry within a content part.
Fields§
§id: &'a str§name: &'a str§input: &'a ValueTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ToolUseRef<'a>
impl<'a> RefUnwindSafe for ToolUseRef<'a>
impl<'a> Send for ToolUseRef<'a>
impl<'a> Sync for ToolUseRef<'a>
impl<'a> Unpin for ToolUseRef<'a>
impl<'a> UnsafeUnpin for ToolUseRef<'a>
impl<'a> UnwindSafe for ToolUseRef<'a>
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