pub struct HttpToolCall {
pub id: String,
pub name: String,
pub input: Value,
}Expand description
A single tool call requested by the model.
Fields§
§id: StringProvider-assigned call identifier.
name: StringTool name.
input: ValueInput arguments as JSON.
Trait Implementations§
Source§impl Clone for HttpToolCall
impl Clone for HttpToolCall
Source§fn clone(&self) -> HttpToolCall
fn clone(&self) -> HttpToolCall
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 HttpToolCall
impl RefUnwindSafe for HttpToolCall
impl Send for HttpToolCall
impl Sync for HttpToolCall
impl Unpin for HttpToolCall
impl UnsafeUnpin for HttpToolCall
impl UnwindSafe for HttpToolCall
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