pub enum PluginInstallScope {
Default,
User,
Project,
}Expand description
The plugin/install local-path scope. Closed: an unknown scope is -32602 invalidParams.
Variants§
Default
The default lane (omitted scope).
User
The explicit-user lane.
Project
The explicit-project lane, resolved against the session’s workspace (degrades to the default lane with no workspace root).
Trait Implementations§
Source§impl Clone for PluginInstallScope
impl Clone for PluginInstallScope
impl Copy for PluginInstallScope
Source§impl Debug for PluginInstallScope
impl Debug for PluginInstallScope
Source§impl<'de> Deserialize<'de> for PluginInstallScope
impl<'de> Deserialize<'de> for PluginInstallScope
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 PluginInstallScope
Source§impl PartialEq for PluginInstallScope
impl PartialEq for PluginInstallScope
Source§impl Serialize for PluginInstallScope
impl Serialize for PluginInstallScope
impl StructuralPartialEq for PluginInstallScope
Auto Trait Implementations§
impl Freeze for PluginInstallScope
impl RefUnwindSafe for PluginInstallScope
impl Send for PluginInstallScope
impl Sync for PluginInstallScope
impl Unpin for PluginInstallScope
impl UnsafeUnpin for PluginInstallScope
impl UnwindSafe for PluginInstallScope
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