pub struct ResponseFunctionCall {
pub id: Option<String>,
pub call_id: Option<String>,
pub name: Option<String>,
pub arguments: Option<String>,
pub status: Option<ItemStatus>,
}Expand description
A call to a user-defined function.
Fields§
§id: Option<String>The unique ID of the function call.
call_id: Option<String>The ID used to pair this call with its function_call_output when
passing the result back in a follow-up request.
name: Option<String>The name of the function to call.
arguments: Option<String>The arguments to call the function with, as a JSON string.
status: Option<ItemStatus>The status of the function call item.
Trait Implementations§
Source§impl Clone for ResponseFunctionCall
impl Clone for ResponseFunctionCall
Source§fn clone(&self) -> ResponseFunctionCall
fn clone(&self) -> ResponseFunctionCall
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 ResponseFunctionCall
impl Debug for ResponseFunctionCall
Source§impl<'de> Deserialize<'de> for ResponseFunctionCall
impl<'de> Deserialize<'de> for ResponseFunctionCall
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 ResponseFunctionCall
impl RefUnwindSafe for ResponseFunctionCall
impl Send for ResponseFunctionCall
impl Sync for ResponseFunctionCall
impl Unpin for ResponseFunctionCall
impl UnsafeUnpin for ResponseFunctionCall
impl UnwindSafe for ResponseFunctionCall
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