pub struct CodeInterpreterArgs { /* private fields */ }
Expand description
Builder for CodeInterpreter
.
Implementations§
Source§impl CodeInterpreterArgs
impl CodeInterpreterArgs
Sourcepub fn container<VALUE: Into<CodeInterpreterContainer>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn container<VALUE: Into<CodeInterpreterContainer>>( &mut self, value: VALUE, ) -> &mut Self
Container configuration for running code.
Sourcepub fn build(&self) -> Result<CodeInterpreter, OpenAIError>
pub fn build(&self) -> Result<CodeInterpreter, OpenAIError>
Trait Implementations§
Source§impl Clone for CodeInterpreterArgs
impl Clone for CodeInterpreterArgs
Source§fn clone(&self) -> CodeInterpreterArgs
fn clone(&self) -> CodeInterpreterArgs
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 moreAuto Trait Implementations§
impl Freeze for CodeInterpreterArgs
impl RefUnwindSafe for CodeInterpreterArgs
impl Send for CodeInterpreterArgs
impl Sync for CodeInterpreterArgs
impl Unpin for CodeInterpreterArgs
impl UnwindSafe for CodeInterpreterArgs
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