pub enum CodeInterpreterToolContainer {
Auto(CodeInterpreterContainerAuto),
ContainerID(String),
}Expand description
Container configuration for a code interpreter.
Variants§
Auto(CodeInterpreterContainerAuto)
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
ContainerID(String)
The container ID.
Trait Implementations§
Source§impl Clone for CodeInterpreterToolContainer
impl Clone for CodeInterpreterToolContainer
Source§fn clone(&self) -> CodeInterpreterToolContainer
fn clone(&self) -> CodeInterpreterToolContainer
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 CodeInterpreterToolContainer
impl Debug for CodeInterpreterToolContainer
Source§impl<'de> Deserialize<'de> for CodeInterpreterToolContainer
impl<'de> Deserialize<'de> for CodeInterpreterToolContainer
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 CodeInterpreterToolContainer
impl PartialEq for CodeInterpreterToolContainer
Source§fn eq(&self, other: &CodeInterpreterToolContainer) -> bool
fn eq(&self, other: &CodeInterpreterToolContainer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeInterpreterToolContainer
Auto Trait Implementations§
impl Freeze for CodeInterpreterToolContainer
impl RefUnwindSafe for CodeInterpreterToolContainer
impl Send for CodeInterpreterToolContainer
impl Sync for CodeInterpreterToolContainer
impl Unpin for CodeInterpreterToolContainer
impl UnwindSafe for CodeInterpreterToolContainer
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