pub enum OpenAICodeInterpreterContainer {
Auto(OpenAIAutoContainer),
Existing(String),
}Expand description
OpenAI code interpreter container selection.
Variants§
Auto(OpenAIAutoContainer)
Automatically create or reuse a container.
Existing(String)
Use an existing container ID.
Trait Implementations§
Source§impl Clone for OpenAICodeInterpreterContainer
impl Clone for OpenAICodeInterpreterContainer
Source§fn clone(&self) -> OpenAICodeInterpreterContainer
fn clone(&self) -> OpenAICodeInterpreterContainer
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<'de> Deserialize<'de> for OpenAICodeInterpreterContainer
impl<'de> Deserialize<'de> for OpenAICodeInterpreterContainer
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
impl Eq for OpenAICodeInterpreterContainer
impl StructuralPartialEq for OpenAICodeInterpreterContainer
Auto Trait Implementations§
impl Freeze for OpenAICodeInterpreterContainer
impl RefUnwindSafe for OpenAICodeInterpreterContainer
impl Send for OpenAICodeInterpreterContainer
impl Sync for OpenAICodeInterpreterContainer
impl Unpin for OpenAICodeInterpreterContainer
impl UnsafeUnpin for OpenAICodeInterpreterContainer
impl UnwindSafe for OpenAICodeInterpreterContainer
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