pub struct AgentToolCall {
pub call_id: String,
pub name: String,
pub arguments: Value,
}Expand description
One normalized function call returned by OpenAI.
Fields§
§call_id: StringProvider call identifier.
name: StringExact function name.
arguments: ValueParsed JSON arguments.
Trait Implementations§
Source§impl Clone for AgentToolCall
impl Clone for AgentToolCall
Source§fn clone(&self) -> AgentToolCall
fn clone(&self) -> AgentToolCall
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 moreSource§impl Debug for AgentToolCall
impl Debug for AgentToolCall
impl Eq for AgentToolCall
Source§impl PartialEq for AgentToolCall
impl PartialEq for AgentToolCall
impl StructuralPartialEq for AgentToolCall
Auto Trait Implementations§
impl Freeze for AgentToolCall
impl RefUnwindSafe for AgentToolCall
impl Send for AgentToolCall
impl Sync for AgentToolCall
impl Unpin for AgentToolCall
impl UnsafeUnpin for AgentToolCall
impl UnwindSafe for AgentToolCall
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