pub struct CodeInterpreterToolBuilder(/* private fields */);Expand description
Builder for CodeInterpreterTool.
Implementations§
Source§impl CodeInterpreterToolBuilder
impl CodeInterpreterToolBuilder
pub fn allowed_callers( self, value: impl Into<Option<Vec<AllowedCaller>>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> CodeInterpreterTool
pub fn build(self) -> CodeInterpreterTool
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for CodeInterpreterToolBuilder
impl RefUnwindSafe for CodeInterpreterToolBuilder
impl Send for CodeInterpreterToolBuilder
impl Sync for CodeInterpreterToolBuilder
impl Unpin for CodeInterpreterToolBuilder
impl UnsafeUnpin for CodeInterpreterToolBuilder
impl UnwindSafe for CodeInterpreterToolBuilder
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