pub struct RunToolCallObject {
pub id: String,
pub type: String,
pub function: FunctionCall,
}
Fields§
§id: String
The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.
type: String
The type of tool call the output is required for. For now, this is always function
.
function: FunctionCall
The function definition.
Trait Implementations§
Source§impl Clone for RunToolCallObject
impl Clone for RunToolCallObject
Source§fn clone(&self) -> RunToolCallObject
fn clone(&self) -> RunToolCallObject
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 RunToolCallObject
impl Debug for RunToolCallObject
Source§impl<'de> Deserialize<'de> for RunToolCallObject
impl<'de> Deserialize<'de> for RunToolCallObject
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 RunToolCallObject
impl PartialEq for RunToolCallObject
Source§impl Serialize for RunToolCallObject
impl Serialize for RunToolCallObject
impl StructuralPartialEq for RunToolCallObject
Auto Trait Implementations§
impl Freeze for RunToolCallObject
impl RefUnwindSafe for RunToolCallObject
impl Send for RunToolCallObject
impl Sync for RunToolCallObject
impl Unpin for RunToolCallObject
impl UnwindSafe for RunToolCallObject
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