pub struct PluginsEnableRequest {
pub names: Vec<String>,
pub working_directory: Option<String>,
}Expand description
Plugin names (or specs) to enable, plus the optional working directory the repository-controlled guard is evaluated against.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§names: Vec<String>Plugin names or “plugin@marketplace” specs to enable. Unknown names are ignored. Non-marketplace direct installs are always enabled and cannot be toggled via this API.
working_directory: Option<String>Working directory whose repository enabledPlugins overlay decides whether this mutation is repository-controlled. Hosts that serve sessions across several repositories (the SDK server) should pass the session’s directory; otherwise the guard is evaluated against the server process’s own working directory, which may belong to a different repository. Defaults to the server’s current working directory.
Trait Implementations§
Source§impl Clone for PluginsEnableRequest
impl Clone for PluginsEnableRequest
Source§fn clone(&self) -> PluginsEnableRequest
fn clone(&self) -> PluginsEnableRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more