#[non_exhaustive]pub enum PluginEnabled {
Enabled(bool),
Versions(Vec<String>),
}Expand description
A value of enabledPlugins.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PluginEnabled
impl Clone for PluginEnabled
Source§impl Debug for PluginEnabled
impl Debug for PluginEnabled
Source§impl<'de> Deserialize<'de> for PluginEnabled
impl<'de> Deserialize<'de> for PluginEnabled
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 PluginEnabled
impl PartialEq for PluginEnabled
Source§impl Serialize for PluginEnabled
impl Serialize for PluginEnabled
impl StructuralPartialEq for PluginEnabled
Auto Trait Implementations§
impl Forget for PluginEnabled
impl Freeze for PluginEnabled
impl Move for PluginEnabled
impl RefUnwindSafe for PluginEnabled
impl Send for PluginEnabled
impl Sync for PluginEnabled
impl Unpin for PluginEnabled
impl UnsafeUnpin for PluginEnabled
impl UnwindSafe for PluginEnabled
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