pub struct ToolsOutputsArgs { /* private fields */ }
Expand description
Builder for ToolsOutputs
.
Implementations§
Source§impl ToolsOutputsArgs
impl ToolsOutputsArgs
Sourcepub fn tool_call_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn tool_call_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The ID of the tool call in the required_action
object within the run object the output is being submitted for.
Sourcepub fn output<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn output<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The output of the tool call to be submitted to continue the run.
Sourcepub fn build(&self) -> Result<ToolsOutputs, OpenAIError>
pub fn build(&self) -> Result<ToolsOutputs, OpenAIError>
Trait Implementations§
Source§impl Clone for ToolsOutputsArgs
impl Clone for ToolsOutputsArgs
Source§fn clone(&self) -> ToolsOutputsArgs
fn clone(&self) -> ToolsOutputsArgs
Returns a copy 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 Debug for ToolsOutputsArgs
impl Debug for ToolsOutputsArgs
Auto Trait Implementations§
impl Freeze for ToolsOutputsArgs
impl RefUnwindSafe for ToolsOutputsArgs
impl Send for ToolsOutputsArgs
impl Sync for ToolsOutputsArgs
impl Unpin for ToolsOutputsArgs
impl UnwindSafe for ToolsOutputsArgs
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