pub enum EnvAction {
ProjectEnv {
load: Option<bool>,
},
Container {
on: Option<bool>,
},
StopContainer,
RemoveContainer,
Unsupported,
}Expand description
Ask for the WorkspaceEnv of the chat in view, optionally changing it first.
Variants§
ProjectEnv
Remember whether to load the workspace’s project environment (None: forget the
answer, so byob asks again next time).
Container
Run this workspace’s commands in a container (None: forget, ask again if it has a
devcontainer.json).
StopContainer
Stop the workspace’s container (it starts again on the next command).
RemoveContainer
Remove the workspace’s container (packages installed in it are lost).
Unsupported
An action from a newer client this engine doesn’t know (answered with a message, changing nothing).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnvAction
impl<'de> Deserialize<'de> for EnvAction
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 EnvAction
impl StructuralPartialEq for EnvAction
Auto Trait Implementations§
impl Forget for EnvAction
impl Freeze for EnvAction
impl Move for EnvAction
impl RefUnwindSafe for EnvAction
impl Send for EnvAction
impl Sync for EnvAction
impl Unpin for EnvAction
impl UnsafeUnpin for EnvAction
impl UnwindSafe for EnvAction
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