pub struct ToolsOutputsBuilder { /* private fields */ }
Expand description
Builder for ToolsOutputs
.
Implementations§
Source§impl ToolsOutputsBuilder
impl ToolsOutputsBuilder
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 ToolsOutputsBuilder
impl Clone for ToolsOutputsBuilder
Source§fn clone(&self) -> ToolsOutputsBuilder
fn clone(&self) -> ToolsOutputsBuilder
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 Debug for ToolsOutputsBuilder
impl Debug for ToolsOutputsBuilder
Auto Trait Implementations§
impl Freeze for ToolsOutputsBuilder
impl RefUnwindSafe for ToolsOutputsBuilder
impl Send for ToolsOutputsBuilder
impl Sync for ToolsOutputsBuilder
impl Unpin for ToolsOutputsBuilder
impl UnwindSafe for ToolsOutputsBuilder
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