pub struct FunctionToolCallOutput {
pub output_type: String,
pub call_id: String,
pub output: String,
}Expand description
The output of a function tool call.
Fields§
§output_type: StringThe type of the function tool call, which is always function_call_output.
call_id: StringThe unique ID of the function tool call generated by the model.
output: StringThe output of the function tool call, as a JSON string.
Trait Implementations§
Source§impl Clone for FunctionToolCallOutput
impl Clone for FunctionToolCallOutput
Source§fn clone(&self) -> FunctionToolCallOutput
fn clone(&self) -> FunctionToolCallOutput
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 FunctionToolCallOutput
impl Debug for FunctionToolCallOutput
Source§impl Default for FunctionToolCallOutput
impl Default for FunctionToolCallOutput
Source§fn default() -> FunctionToolCallOutput
fn default() -> FunctionToolCallOutput
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for FunctionToolCallOutput
impl PartialEq for FunctionToolCallOutput
Source§impl Serialize for FunctionToolCallOutput
impl Serialize for FunctionToolCallOutput
impl StructuralPartialEq for FunctionToolCallOutput
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