pub enum CodeInterpreterContainer {
Id(String),
Container(CodeInterpreterContainerKind),
}
Expand description
Container configuration for a code interpreter.
Variants§
Id(String)
A simple container ID.
Container(CodeInterpreterContainerKind)
Auto-configured container with optional files.
Trait Implementations§
Source§impl Clone for CodeInterpreterContainer
impl Clone for CodeInterpreterContainer
Source§fn clone(&self) -> CodeInterpreterContainer
fn clone(&self) -> CodeInterpreterContainer
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 CodeInterpreterContainer
impl Debug for CodeInterpreterContainer
Source§impl Default for CodeInterpreterContainer
impl Default for CodeInterpreterContainer
Source§impl<'de> Deserialize<'de> for CodeInterpreterContainer
impl<'de> Deserialize<'de> for CodeInterpreterContainer
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 CodeInterpreterContainer
impl PartialEq for CodeInterpreterContainer
Source§impl Serialize for CodeInterpreterContainer
impl Serialize for CodeInterpreterContainer
impl StructuralPartialEq for CodeInterpreterContainer
Auto Trait Implementations§
impl Freeze for CodeInterpreterContainer
impl RefUnwindSafe for CodeInterpreterContainer
impl Send for CodeInterpreterContainer
impl Sync for CodeInterpreterContainer
impl Unpin for CodeInterpreterContainer
impl UnwindSafe for CodeInterpreterContainer
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