pub struct RunStepDeltaStepDetailsToolCallsFunctionObject {
pub index: u64,
pub id: Option<String>,
pub function: Option<RunStepDeltaStepDetailsToolCallsFunctionObjectFunction>,
}
Fields§
§index: u64
The index of the tool call in the tool calls array.
id: Option<String>
The ID of the tool call object.
function: Option<RunStepDeltaStepDetailsToolCallsFunctionObjectFunction>
The definition of the function that was called.
Implementations§
Source§impl RunStepDeltaStepDetailsToolCallsFunctionObject
impl RunStepDeltaStepDetailsToolCallsFunctionObject
Sourcepub fn builder() -> RunStepDeltaStepDetailsToolCallsFunctionObjectBuilder<((), (), ())>
pub fn builder() -> RunStepDeltaStepDetailsToolCallsFunctionObjectBuilder<((), (), ())>
Create a builder for building RunStepDeltaStepDetailsToolCallsFunctionObject
.
On the builder, call .index(...)
, .id(...)
(optional), .function(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RunStepDeltaStepDetailsToolCallsFunctionObject
.
Trait Implementations§
Source§impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObject
impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObject
Source§fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObject
fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObject
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<'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