pub struct PluginSystemConfig {
pub system: SystemConfig,
pub plugins: HashMap<String, PluginConfig>,
pub global_permissions: Vec<Permission>,
pub autoload_plugins: Vec<String>,
}Expand description
Configuration for the entire plugin system
Fields§
§system: SystemConfigGlobal settings for the plugin system
plugins: HashMap<String, PluginConfig>Plugin-specific configurations
global_permissions: Vec<Permission>Global permissions that apply to all plugins
autoload_plugins: Vec<String>Plugins to load on startup
Trait Implementations§
Source§impl Clone for PluginSystemConfig
impl Clone for PluginSystemConfig
Source§impl Debug for PluginSystemConfig
impl Debug for PluginSystemConfig
Source§impl Default for PluginSystemConfig
impl Default for PluginSystemConfig
Source§impl<'de> Deserialize<'de> for PluginSystemConfigwhere
PluginSystemConfig: Default,
impl<'de> Deserialize<'de> for PluginSystemConfigwhere
PluginSystemConfig: Default,
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 PluginSystemConfig
impl RefUnwindSafe for PluginSystemConfig
impl Send for PluginSystemConfig
impl Sync for PluginSystemConfig
impl Unpin for PluginSystemConfig
impl UnsafeUnpin for PluginSystemConfig
impl UnwindSafe for PluginSystemConfig
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