pub struct FunctionCallOutput {
pub id: Option<String>,
pub status: Option<FunctionCallStatus>,
pub call_id: String,
pub output: String,
}Expand description
The output of a function call.
See the function calling guide for more information.
Fields§
§id: Option<String>The unique ID of the function tool call output. Populated when this item is returned via API.
status: Option<FunctionCallStatus>The status of the item. Populated when items are returned via API.
call_id: StringThe ID of the computer tool call that produced the output.
output: StringA JSON string of the output of the function tool call.
Trait Implementations§
Source§impl Clone for FunctionCallOutput
impl Clone for FunctionCallOutput
Source§fn clone(&self) -> FunctionCallOutput
fn clone(&self) -> FunctionCallOutput
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 FunctionCallOutput
impl Debug for FunctionCallOutput
Source§impl<'de> Deserialize<'de> for FunctionCallOutput
impl<'de> Deserialize<'de> for FunctionCallOutput
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 FunctionCallOutput
impl RefUnwindSafe for FunctionCallOutput
impl Send for FunctionCallOutput
impl Sync for FunctionCallOutput
impl Unpin for FunctionCallOutput
impl UnwindSafe for FunctionCallOutput
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