pub struct FunctionToolCallResource {
pub arguments: String,
pub call_id: String,
pub id: String,
pub name: String,
pub status: Option<String>,
pub _type: String,
}
Fields§
§arguments: String
A JSON string of the arguments to pass to the function.
call_id: String
The unique ID of the function tool call generated by the model.
id: String
The unique ID of the function tool call.
name: String
The name of the function to run.
status: Option<String>
The status of the item. One of in_progress
, completed
, or incomplete
. Populated when items are returned via API.
_type: String
The type of the function tool call. Always function_call
.
Trait Implementations§
Source§impl Debug for FunctionToolCallResource
impl Debug for FunctionToolCallResource
Source§impl<'de> Deserialize<'de> for FunctionToolCallResource
impl<'de> Deserialize<'de> for FunctionToolCallResource
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 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