pub struct CodeInterpreterContainerCodeInterpreterToolAuto {
pub type_: String,
pub file_ids: Option<Vec<String>>,
pub memory_limit: Option<CodeInterpreterContainerCodeInterpreterToolAutoMemoryLimit>,
pub network_policy: Option<CodeInterpreterContainerCodeInterpreterToolAutoNetworkPolicy>,
}Expand description
Configuration for a code interpreter container.
Fields§
§type_: StringAlways auto.
file_ids: Option<Vec<String>>An optional list of uploaded files to make available to your code.
memory_limit: Option<CodeInterpreterContainerCodeInterpreterToolAutoMemoryLimit>The memory limit for the code interpreter container.
network_policy: Option<CodeInterpreterContainerCodeInterpreterToolAutoNetworkPolicy>Network access policy for the container.
Trait Implementations§
Source§impl Clone for CodeInterpreterContainerCodeInterpreterToolAuto
impl Clone for CodeInterpreterContainerCodeInterpreterToolAuto
Source§fn clone(&self) -> CodeInterpreterContainerCodeInterpreterToolAuto
fn clone(&self) -> CodeInterpreterContainerCodeInterpreterToolAuto
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 CodeInterpreterContainerCodeInterpreterToolAuto
impl<'de> Deserialize<'de> for CodeInterpreterContainerCodeInterpreterToolAuto
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
Auto Trait Implementations§
impl Freeze for CodeInterpreterContainerCodeInterpreterToolAuto
impl RefUnwindSafe for CodeInterpreterContainerCodeInterpreterToolAuto
impl Send for CodeInterpreterContainerCodeInterpreterToolAuto
impl Sync for CodeInterpreterContainerCodeInterpreterToolAuto
impl Unpin for CodeInterpreterContainerCodeInterpreterToolAuto
impl UnsafeUnpin for CodeInterpreterContainerCodeInterpreterToolAuto
impl UnwindSafe for CodeInterpreterContainerCodeInterpreterToolAuto
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