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 (const: unstable) · 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 Default for CodeInterpreterToolContainer
impl Default for CodeInterpreterToolContainer
Source§fn default() -> CodeInterpreterToolContainer
fn default() -> CodeInterpreterToolContainer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeInterpreterToolContainer
impl<'de> Deserialize<'de> for CodeInterpreterToolContainer
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolContainer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolContainer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeInterpreterToolContainer
impl Serialize for CodeInterpreterToolContainer
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 UnsafeUnpin 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