pub struct CustomToolCallOutput {
pub id: Option<String>,
pub call_id: String,
pub output: String,
}
Expand description
The output of a custom tool call from your code, being sent back to the model.
Fields§
§id: Option<String>
The unique ID of the custom tool call output in the OpenAI platform.
call_id: String
The call ID, used to map this custom tool call output to a custom tool call.
output: String
The output from the custom tool call generated by your code.
Implementations§
Trait Implementations§
Source§impl Clone for CustomToolCallOutput
impl Clone for CustomToolCallOutput
Source§fn clone(&self) -> CustomToolCallOutput
fn clone(&self) -> CustomToolCallOutput
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 CustomToolCallOutput
impl Debug for CustomToolCallOutput
Source§impl<'de> Deserialize<'de> for CustomToolCallOutput
impl<'de> Deserialize<'de> for CustomToolCallOutput
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 CustomToolCallOutput
impl PartialEq for CustomToolCallOutput
Source§impl Serialize for CustomToolCallOutput
impl Serialize for CustomToolCallOutput
impl StructuralPartialEq for CustomToolCallOutput
Auto Trait Implementations§
impl Freeze for CustomToolCallOutput
impl RefUnwindSafe for CustomToolCallOutput
impl Send for CustomToolCallOutput
impl Sync for CustomToolCallOutput
impl Unpin for CustomToolCallOutput
impl UnwindSafe for CustomToolCallOutput
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