pub enum PluginScope {
Bundled,
Global,
Workspace,
Chat,
}Expand description
Where a plugin lives (see the module docs).
Variants§
Bundled
Ships inside byob (13.4+, cap crate::version::CAP_BUNDLED_SCOPE; older clients
are told global with origin bundled). The least specific: any other copy with
the same id wins (a fork).
Global
Workspace
Chat
Implementations§
Trait Implementations§
Source§impl Clone for PluginScope
impl Clone for PluginScope
impl Copy for PluginScope
Source§impl Debug for PluginScope
impl Debug for PluginScope
Source§impl<'de> Deserialize<'de> for PluginScope
impl<'de> Deserialize<'de> for PluginScope
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 PluginScope
Source§impl Hash for PluginScope
impl Hash for PluginScope
Source§impl Ord for PluginScope
impl Ord for PluginScope
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PluginScope
impl PartialEq for PluginScope
Source§impl PartialOrd for PluginScope
impl PartialOrd for PluginScope
Source§impl Serialize for PluginScope
impl Serialize for PluginScope
impl StructuralPartialEq for PluginScope
Auto Trait Implementations§
impl Forget for PluginScope
impl Freeze for PluginScope
impl Move for PluginScope
impl RefUnwindSafe for PluginScope
impl Send for PluginScope
impl Sync for PluginScope
impl Unpin for PluginScope
impl UnsafeUnpin for PluginScope
impl UnwindSafe for PluginScope
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