#[non_exhaustive]pub enum ResponseShellEnvironment {
ContainerAuto {
file_ids: Option<Vec<String>>,
memory_limit: Option<CodeInterpreterMemoryLimit>,
network_policy: Option<CodeInterpreterNetworkPolicy>,
skills: Option<Vec<ResponseShellContainerSkill>>,
},
Local {
skills: Option<Vec<ResponseShellLocalSkill>>,
},
ContainerReference {
container_id: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ContainerAuto
Fields
§
memory_limit: Option<CodeInterpreterMemoryLimit>§
network_policy: Option<CodeInterpreterNetworkPolicy>§
skills: Option<Vec<ResponseShellContainerSkill>>Local
Fields
§
skills: Option<Vec<ResponseShellLocalSkill>>ContainerReference
Trait Implementations§
Source§impl Clone for ResponseShellEnvironment
impl Clone for ResponseShellEnvironment
Source§fn clone(&self) -> ResponseShellEnvironment
fn clone(&self) -> ResponseShellEnvironment
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 ResponseShellEnvironment
impl Debug for ResponseShellEnvironment
Source§impl<'de> Deserialize<'de> for ResponseShellEnvironment
impl<'de> Deserialize<'de> for ResponseShellEnvironment
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 ResponseShellEnvironment
impl PartialEq for ResponseShellEnvironment
Source§impl Serialize for ResponseShellEnvironment
impl Serialize for ResponseShellEnvironment
impl StructuralPartialEq for ResponseShellEnvironment
Auto Trait Implementations§
impl Freeze for ResponseShellEnvironment
impl RefUnwindSafe for ResponseShellEnvironment
impl Send for ResponseShellEnvironment
impl Sync for ResponseShellEnvironment
impl Unpin for ResponseShellEnvironment
impl UnsafeUnpin for ResponseShellEnvironment
impl UnwindSafe for ResponseShellEnvironment
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