Struct ayaka_runtime::PluginConfig
source · pub struct PluginConfig {
pub dir: String,
pub modules: Vec<String>,
}
Expand description
The plugin config.
Fields§
§dir: String
The directory of the plugins.
modules: Vec<String>
The names of the plugins, without extension.
Trait Implementations§
source§impl Debug for PluginConfig
impl Debug for PluginConfig
source§impl Default for PluginConfig
impl Default for PluginConfig
source§fn default() -> PluginConfig
fn default() -> PluginConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PluginConfig
impl<'de> Deserialize<'de> for PluginConfig
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 RefUnwindSafe for PluginConfig
impl Send for PluginConfig
impl Sync for PluginConfig
impl Unpin for PluginConfig
impl UnwindSafe for PluginConfig
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