pub struct FunctionCallItem {
pub id: Option<String>,
pub call_id: String,
pub name: String,
pub arguments: String,
}Expand description
A function call made by the assistant.
Fields§
§id: Option<String>Unique identifier for this item.
call_id: StringThe function call ID (used to match with output).
name: StringName of the function being called.
arguments: StringJSON string of function arguments.
Trait Implementations§
Source§impl Clone for FunctionCallItem
impl Clone for FunctionCallItem
Source§fn clone(&self) -> FunctionCallItem
fn clone(&self) -> FunctionCallItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionCallItem
impl Debug for FunctionCallItem
Source§impl<'de> Deserialize<'de> for FunctionCallItem
impl<'de> Deserialize<'de> for FunctionCallItem
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 FunctionCallItem
impl RefUnwindSafe for FunctionCallItem
impl Send for FunctionCallItem
impl Sync for FunctionCallItem
impl Unpin for FunctionCallItem
impl UnsafeUnpin for FunctionCallItem
impl UnwindSafe for FunctionCallItem
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