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