pub struct RunStepDeltaStepDetailsToolCallsFunctionObjectFunction {
pub name: Option<String>,
pub arguments: Option<String>,
pub output: Option<String>,
}
Expand description
The definition of the function that was called.
Fields§
§name: Option<String>
The name of the function.
arguments: Option<String>
The arguments passed to the function.
output: Option<String>
The output of the function. This will be null
if the outputs have not been submitted yet.
Implementations§
Source§impl RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Sourcepub fn builder() -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunctionBuilder<((), (), ())>
pub fn builder() -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunctionBuilder<((), (), ())>
Create a builder for building RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
.
On the builder, call .name(...)
(optional), .arguments(...)
(optional), .output(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
.
Trait Implementations§
Source§impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl Clone for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Source§fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
fn clone(&self) -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
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 Default for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl Default for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Source§fn default() -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
fn default() -> RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl<'de> Deserialize<'de> for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
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 RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl PartialEq for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Source§fn eq(
&self,
other: &RunStepDeltaStepDetailsToolCallsFunctionObjectFunction,
) -> bool
fn eq( &self, other: &RunStepDeltaStepDetailsToolCallsFunctionObjectFunction, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
Auto Trait Implementations§
impl Freeze for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl RefUnwindSafe for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl Send for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl Sync for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl Unpin for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
impl UnwindSafe for RunStepDeltaStepDetailsToolCallsFunctionObjectFunction
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