pub struct PendingToolCall {
pub id: String,
pub name: String,
pub input: Value,
}Expand description
A pending tool call extracted from the model’s response.
Fields§
§id: String§name: String§input: ValueTrait Implementations§
Source§impl Clone for PendingToolCall
impl Clone for PendingToolCall
Source§fn clone(&self) -> PendingToolCall
fn clone(&self) -> PendingToolCall
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 PendingToolCall
impl RefUnwindSafe for PendingToolCall
impl Send for PendingToolCall
impl Sync for PendingToolCall
impl Unpin for PendingToolCall
impl UnsafeUnpin for PendingToolCall
impl UnwindSafe for PendingToolCall
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