pub struct RunInTerminalRequestArguments {
pub args: Vec<String>,
pub cwd: String,
pub env: Option<BTreeMap<String, Option<String>>>,
pub kind: Option<String>,
pub title: Option<String>,
}
Expand description
Arguments for ‘runInTerminal’ request.
Fields
args: Vec<String>
List of arguments. The first argument is the command to run.
cwd: String
Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
env: Option<BTreeMap<String, Option<String>>>
Environment key-value pairs that are added to or removed from the default environment.
kind: Option<String>
What kind of terminal to launch.
title: Option<String>
Optional title of the terminal.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for RunInTerminalRequestArguments
impl Sync for RunInTerminalRequestArguments
impl Unpin for RunInTerminalRequestArguments
impl UnwindSafe for RunInTerminalRequestArguments
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more