pub struct SubmitToolOutputsRunRequestToolOutputs {
pub tool_call_id: Option<String>,
pub output: Option<String>,
}
Fields§
§tool_call_id: Option<String>
The ID of the tool call in the required_action
object within the run object the output is being submitted for.
output: Option<String>
The output of the tool call to be submitted to continue the run.
Implementations§
Source§impl SubmitToolOutputsRunRequestToolOutputs
impl SubmitToolOutputsRunRequestToolOutputs
Sourcepub fn builder() -> SubmitToolOutputsRunRequestToolOutputsBuilder<((), ())>
pub fn builder() -> SubmitToolOutputsRunRequestToolOutputsBuilder<((), ())>
Create a builder for building SubmitToolOutputsRunRequestToolOutputs
.
On the builder, call .tool_call_id(...)
(optional), .output(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of SubmitToolOutputsRunRequestToolOutputs
.
Trait Implementations§
Source§impl Clone for SubmitToolOutputsRunRequestToolOutputs
impl Clone for SubmitToolOutputsRunRequestToolOutputs
Source§fn clone(&self) -> SubmitToolOutputsRunRequestToolOutputs
fn clone(&self) -> SubmitToolOutputsRunRequestToolOutputs
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 SubmitToolOutputsRunRequestToolOutputs
impl Default for SubmitToolOutputsRunRequestToolOutputs
Source§fn default() -> SubmitToolOutputsRunRequestToolOutputs
fn default() -> SubmitToolOutputsRunRequestToolOutputs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubmitToolOutputsRunRequestToolOutputs
impl<'de> Deserialize<'de> for SubmitToolOutputsRunRequestToolOutputs
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 SubmitToolOutputsRunRequestToolOutputs
impl PartialEq for SubmitToolOutputsRunRequestToolOutputs
Source§fn eq(&self, other: &SubmitToolOutputsRunRequestToolOutputs) -> bool
fn eq(&self, other: &SubmitToolOutputsRunRequestToolOutputs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SubmitToolOutputsRunRequestToolOutputs
Auto Trait Implementations§
impl Freeze for SubmitToolOutputsRunRequestToolOutputs
impl RefUnwindSafe for SubmitToolOutputsRunRequestToolOutputs
impl Send for SubmitToolOutputsRunRequestToolOutputs
impl Sync for SubmitToolOutputsRunRequestToolOutputs
impl Unpin for SubmitToolOutputsRunRequestToolOutputs
impl UnwindSafe for SubmitToolOutputsRunRequestToolOutputs
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