pub struct ProcessRuntime {
pub command: String,
pub args: Vec<String>,
pub env: IndexMap<String, String>,
pub inherit_env: bool,
pub cwd: Option<String>,
}Expand description
runtime: process settings.
Fields§
§command: String§args: Vec<String>§env: IndexMap<String, String>Fixed environment variables for the process.
inherit_env: boolInherit the full host environment (off by default).
cwd: Option<String>Working directory relative to the plugin directory.
Trait Implementations§
Source§impl Clone for ProcessRuntime
impl Clone for ProcessRuntime
Source§impl Debug for ProcessRuntime
impl Debug for ProcessRuntime
Source§impl<'de> Deserialize<'de> for ProcessRuntime
impl<'de> Deserialize<'de> for ProcessRuntime
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 ProcessRuntime
impl PartialEq for ProcessRuntime
Source§impl Serialize for ProcessRuntime
impl Serialize for ProcessRuntime
impl StructuralPartialEq for ProcessRuntime
Auto Trait Implementations§
impl Forget for ProcessRuntime
impl Freeze for ProcessRuntime
impl Move for ProcessRuntime
impl RefUnwindSafe for ProcessRuntime
impl Send for ProcessRuntime
impl Sync for ProcessRuntime
impl Unpin for ProcessRuntime
impl UnsafeUnpin for ProcessRuntime
impl UnwindSafe for ProcessRuntime
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