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