pub enum CodeInterpreterToolContainer {
String(String),
CodeInterpreterToolAuto(CodeInterpreterToolAuto),
}
Expand description
The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code.
Variants§
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§const fn clone_from(&mut self, source: &Self)
const 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