pub struct FunctionToolCall {
pub id: String,
pub type: String,
pub call_id: String,
pub name: String,
pub arguments: String,
pub status: String,
}Expand description
A tool call to run a function.
Fields§
§id: StringThe unique ID of the function tool call.
type: StringThe type of the function tool call.
call_id: StringThe unique ID of the function tool call generated by the model.
name: StringThe name of the function to run.
arguments: StringA JSON string of the arguments to pass to the function.
status: StringThe status of the item.
Trait Implementations§
Source§impl Clone for FunctionToolCall
impl Clone for FunctionToolCall
Source§fn clone(&self) -> FunctionToolCall
fn clone(&self) -> FunctionToolCall
Returns a copy 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 FunctionToolCall
impl Debug for FunctionToolCall
Source§impl Default for FunctionToolCall
impl Default for FunctionToolCall
Source§fn default() -> FunctionToolCall
fn default() -> FunctionToolCall
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionToolCall
impl RefUnwindSafe for FunctionToolCall
impl Send for FunctionToolCall
impl Sync for FunctionToolCall
impl Unpin for FunctionToolCall
impl UnwindSafe for FunctionToolCall
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