Struct plugy_core::PluginConfig
source · pub struct PluginConfig<D> {
pub title: String,
pub module: ModuleFile,
pub metadata: D,
}Fields§
§title: String§module: ModuleFile§metadata: DTrait Implementations§
source§impl<D: Clone> Clone for PluginConfig<D>
impl<D: Clone> Clone for PluginConfig<D>
source§fn clone(&self) -> PluginConfig<D>
fn clone(&self) -> PluginConfig<D>
Returns a copy 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<D: Debug> Debug for PluginConfig<D>
impl<D: Debug> Debug for PluginConfig<D>
source§impl<'de, D> Deserialize<'de> for PluginConfig<D>where
D: Deserialize<'de>,
impl<'de, D> Deserialize<'de> for PluginConfig<D>where D: Deserialize<'de>,
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<D> RefUnwindSafe for PluginConfig<D>where D: RefUnwindSafe,
impl<D> Send for PluginConfig<D>where D: Send,
impl<D> Sync for PluginConfig<D>where D: Sync,
impl<D> Unpin for PluginConfig<D>where D: Unpin,
impl<D> UnwindSafe for PluginConfig<D>where D: UnwindSafe,
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