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 of the 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§
Source§impl Clone for RunInTerminalRequestArguments
impl Clone for RunInTerminalRequestArguments
Source§fn clone(&self) -> RunInTerminalRequestArguments
fn clone(&self) -> RunInTerminalRequestArguments
Returns a copy 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<'de> Deserialize<'de> for RunInTerminalRequestArguments
impl<'de> Deserialize<'de> for RunInTerminalRequestArguments
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 RunInTerminalRequestArguments
impl PartialEq for RunInTerminalRequestArguments
Source§fn eq(&self, other: &RunInTerminalRequestArguments) -> bool
fn eq(&self, other: &RunInTerminalRequestArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunInTerminalRequestArguments
Auto Trait Implementations§
impl Freeze for RunInTerminalRequestArguments
impl RefUnwindSafe for RunInTerminalRequestArguments
impl Send for RunInTerminalRequestArguments
impl Sync for RunInTerminalRequestArguments
impl Unpin for RunInTerminalRequestArguments
impl UnwindSafe for RunInTerminalRequestArguments
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