pub struct ResponseFunctionCallItem {
pub id: Option<String>,
pub call_id: String,
pub name: String,
pub arguments: String,
pub status: Option<String>,
}Expand description
A function call the model made ({"type":"function_call","call_id","name","arguments"}).
call_id pairs it with its ResponseFunctionCallOutputItem; arguments is the raw
JSON string exactly as emitted.
Fields§
§id: Option<String>§call_id: String§name: String§arguments: String§status: Option<String>Trait Implementations§
Source§impl Clone for ResponseFunctionCallItem
impl Clone for ResponseFunctionCallItem
Source§fn clone(&self) -> ResponseFunctionCallItem
fn clone(&self) -> ResponseFunctionCallItem
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 ResponseFunctionCallItem
impl Debug for ResponseFunctionCallItem
Source§impl<'de> Deserialize<'de> for ResponseFunctionCallItem
impl<'de> Deserialize<'de> for ResponseFunctionCallItem
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 ResponseFunctionCallItem
impl PartialEq for ResponseFunctionCallItem
Source§impl Serialize for ResponseFunctionCallItem
impl Serialize for ResponseFunctionCallItem
impl StructuralPartialEq for ResponseFunctionCallItem
Auto Trait Implementations§
impl Freeze for ResponseFunctionCallItem
impl RefUnwindSafe for ResponseFunctionCallItem
impl Send for ResponseFunctionCallItem
impl Sync for ResponseFunctionCallItem
impl Unpin for ResponseFunctionCallItem
impl UnsafeUnpin for ResponseFunctionCallItem
impl UnwindSafe for ResponseFunctionCallItem
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