pub struct RunStepDetailsToolCallsFunctionObject {
pub id: String,
pub function: RunStepDetailsToolCallsFunctionObjectFunction,
}
Fields§
§id: String
The ID of the tool call object.
function: RunStepDetailsToolCallsFunctionObjectFunction
The definition of the function that was called.
Implementations§
Source§impl RunStepDetailsToolCallsFunctionObject
impl RunStepDetailsToolCallsFunctionObject
Sourcepub fn builder() -> RunStepDetailsToolCallsFunctionObjectBuilder<((), ())>
pub fn builder() -> RunStepDetailsToolCallsFunctionObjectBuilder<((), ())>
Create a builder for building RunStepDetailsToolCallsFunctionObject
.
On the builder, call .id(...)
, .function(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RunStepDetailsToolCallsFunctionObject
.
Trait Implementations§
Source§impl Clone for RunStepDetailsToolCallsFunctionObject
impl Clone for RunStepDetailsToolCallsFunctionObject
Source§fn clone(&self) -> RunStepDetailsToolCallsFunctionObject
fn clone(&self) -> RunStepDetailsToolCallsFunctionObject
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 RunStepDetailsToolCallsFunctionObject
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsFunctionObject
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 RunStepDetailsToolCallsFunctionObject
impl PartialEq for RunStepDetailsToolCallsFunctionObject
Source§fn eq(&self, other: &RunStepDetailsToolCallsFunctionObject) -> bool
fn eq(&self, other: &RunStepDetailsToolCallsFunctionObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunStepDetailsToolCallsFunctionObject
Auto Trait Implementations§
impl Freeze for RunStepDetailsToolCallsFunctionObject
impl RefUnwindSafe for RunStepDetailsToolCallsFunctionObject
impl Send for RunStepDetailsToolCallsFunctionObject
impl Sync for RunStepDetailsToolCallsFunctionObject
impl Unpin for RunStepDetailsToolCallsFunctionObject
impl UnwindSafe for RunStepDetailsToolCallsFunctionObject
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