pub struct PluginsConfig {
pub enabled: Vec<String>,
}Expand description
Plugin configuration.
Fields§
§enabled: Vec<String>List of enabled plugin names.
Trait Implementations§
Source§impl Clone for PluginsConfig
impl Clone for PluginsConfig
Source§fn clone(&self) -> PluginsConfig
fn clone(&self) -> PluginsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginsConfig
impl Debug for PluginsConfig
Source§impl<'de> Deserialize<'de> for PluginsConfig
impl<'de> Deserialize<'de> for PluginsConfig
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
Auto Trait Implementations§
impl Freeze for PluginsConfig
impl RefUnwindSafe for PluginsConfig
impl Send for PluginsConfig
impl Sync for PluginsConfig
impl Unpin for PluginsConfig
impl UnsafeUnpin for PluginsConfig
impl UnwindSafe for PluginsConfig
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