pub struct FunctionToolCall {
pub arguments: String,
pub call_id: String,
pub name: String,
pub id: Option<String>,
pub status: Option<OutputStatus>,
}Fields§
§arguments: StringA JSON string of the arguments to pass to the function.
call_id: StringThe unique ID of the function tool call generated by the model.
name: StringThe name of the function to run.
id: Option<String>The unique ID of the function tool call.
status: Option<OutputStatus>The status of the item. One of in_progress, completed, or incomplete.
Populated when items are returned via API.
Trait Implementations§
Source§impl Clone for FunctionToolCall
impl Clone for FunctionToolCall
Source§fn clone(&self) -> FunctionToolCall
fn clone(&self) -> FunctionToolCall
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 FunctionToolCall
impl Debug for FunctionToolCall
Source§impl<'de> Deserialize<'de> for FunctionToolCall
impl<'de> Deserialize<'de> for FunctionToolCall
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
Source§impl PartialEq for FunctionToolCall
impl PartialEq for FunctionToolCall
Source§impl Serialize for FunctionToolCall
impl Serialize for FunctionToolCall
impl StructuralPartialEq for FunctionToolCall
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