pub struct FunctionToolCallOutput {
pub call_id: String,
pub id: Option<String>,
pub output: String,
pub status: Option<String>,
pub _type: String,
}
Fields§
§call_id: String
The unique ID of the function tool call generated by the model.
id: Option<String>
The unique ID of the function tool call output. Populated when this item is returned via API.
output: String
A JSON string of the output of the function tool call.
status: Option<String>
The status of the item. One of in_progress
, completed
, or incomplete
. Populated when items are returned via API.
_type: String
The type of the function tool call output. Always function_call_output
.
Trait Implementations§
Source§impl Debug for FunctionToolCallOutput
impl Debug for FunctionToolCallOutput
Source§impl<'de> Deserialize<'de> for FunctionToolCallOutput
impl<'de> Deserialize<'de> for FunctionToolCallOutput
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 FunctionToolCallOutput
impl RefUnwindSafe for FunctionToolCallOutput
impl Send for FunctionToolCallOutput
impl Sync for FunctionToolCallOutput
impl Unpin for FunctionToolCallOutput
impl UnwindSafe for FunctionToolCallOutput
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