pub struct FunctionToolCallResource {
pub arguments: String,
pub call_id: String,
pub namespace: Option<String>,
pub name: String,
pub id: String,
pub status: FunctionCallStatus,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A function tool call item returned by the API.
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.
namespace: Option<String>The namespace of the function to run.
name: StringThe name of the function to run.
id: StringThe unique ID of the function tool call.
status: FunctionCallStatusThe status of the item. One of in_progress, completed, or incomplete.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for FunctionToolCallResource
impl Clone for FunctionToolCallResource
Source§fn clone(&self) -> FunctionToolCallResource
fn clone(&self) -> FunctionToolCallResource
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 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
Source§impl PartialEq for FunctionToolCallResource
impl PartialEq for FunctionToolCallResource
Source§impl Serialize for FunctionToolCallResource
impl Serialize for FunctionToolCallResource
impl StructuralPartialEq for FunctionToolCallResource
Auto Trait Implementations§
impl Freeze for FunctionToolCallResource
impl RefUnwindSafe for FunctionToolCallResource
impl Send for FunctionToolCallResource
impl Sync for FunctionToolCallResource
impl Unpin for FunctionToolCallResource
impl UnsafeUnpin 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