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