pub enum FunctionShellEnvironment {
ContainerAuto(ContainerAutoParam),
Local(LocalEnvironmentParam),
ContainerReference(ContainerReferenceParam),
}Available on crate feature
response-types only.Expand description
The execution environment for a shell tool — container or local.
Variants§
ContainerAuto(ContainerAutoParam)
Automatically creates a container for this request.
Local(LocalEnvironmentParam)
Use a local computer environment.
ContainerReference(ContainerReferenceParam)
Reference an existing container by ID.
Trait Implementations§
Source§impl Clone for FunctionShellEnvironment
impl Clone for FunctionShellEnvironment
Source§fn clone(&self) -> FunctionShellEnvironment
fn clone(&self) -> FunctionShellEnvironment
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 FunctionShellEnvironment
impl Debug for FunctionShellEnvironment
Source§impl<'de> Deserialize<'de> for FunctionShellEnvironment
impl<'de> Deserialize<'de> for FunctionShellEnvironment
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 FunctionShellEnvironment
impl PartialEq for FunctionShellEnvironment
Source§impl Serialize for FunctionShellEnvironment
impl Serialize for FunctionShellEnvironment
impl StructuralPartialEq for FunctionShellEnvironment
Auto Trait Implementations§
impl Freeze for FunctionShellEnvironment
impl RefUnwindSafe for FunctionShellEnvironment
impl Send for FunctionShellEnvironment
impl Sync for FunctionShellEnvironment
impl Unpin for FunctionShellEnvironment
impl UnsafeUnpin for FunctionShellEnvironment
impl UnwindSafe for FunctionShellEnvironment
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