pub struct AtifToolCall {
pub tool_call_id: String,
pub function_name: String,
pub arguments: Option<Value>,
}Expand description
Structured tool/function invocation.
Fields§
§tool_call_id: StringUnique identifier for the tool call.
function_name: StringFunction/tool name.
arguments: Option<Value>Arguments passed to the tool.
Trait Implementations§
Source§impl Clone for AtifToolCall
impl Clone for AtifToolCall
Source§fn clone(&self) -> AtifToolCall
fn clone(&self) -> AtifToolCall
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 moreSource§impl Debug for AtifToolCall
impl Debug for AtifToolCall
Source§impl<'de> Deserialize<'de> for AtifToolCall
impl<'de> Deserialize<'de> for AtifToolCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AtifToolCall
impl RefUnwindSafe for AtifToolCall
impl Send for AtifToolCall
impl Sync for AtifToolCall
impl Unpin for AtifToolCall
impl UnsafeUnpin for AtifToolCall
impl UnwindSafe for AtifToolCall
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