pub struct RunStepDeltaStepDetailsToolCallsFunctionObject {
pub index: u32,
pub id: Option<String>,
pub function: Option<RunStepFunctionObjectDelta>,
}
Expand description
Function tool call
Fields§
§index: u32
The index of the tool call in the tool calls array.
id: Option<String>
The ID of the tool call object.
function: Option<RunStepFunctionObjectDelta>
The definition of the function that was called.
Trait Implementations§
Source§impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObject
impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObject
Source§fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObject
fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObject
Returns a copy 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<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsFunctionObject
impl<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsFunctionObject
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 RunStepDeltaStepDetailsToolCallsFunctionObject
impl PartialEq for RunStepDeltaStepDetailsToolCallsFunctionObject
Source§fn eq(&self, other: &RunStepDeltaStepDetailsToolCallsFunctionObject) -> bool
fn eq(&self, other: &RunStepDeltaStepDetailsToolCallsFunctionObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunStepDeltaStepDetailsToolCallsFunctionObject
Auto Trait Implementations§
impl Freeze for RunStepDeltaStepDetailsToolCallsFunctionObject
impl RefUnwindSafe for RunStepDeltaStepDetailsToolCallsFunctionObject
impl Send for RunStepDeltaStepDetailsToolCallsFunctionObject
impl Sync for RunStepDeltaStepDetailsToolCallsFunctionObject
impl Unpin for RunStepDeltaStepDetailsToolCallsFunctionObject
impl UnwindSafe for RunStepDeltaStepDetailsToolCallsFunctionObject
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