Struct omegga::resources::Plugin [−][src]
pub struct Plugin {
pub name: String,
pub description: String,
pub author: String,
pub config: HashMap<String, ConfigEntry>,
pub commands: Vec<Command>,
}
Expand description
A plugin.
Fields
name: String
description: String
config: HashMap<String, ConfigEntry>
commands: Vec<Command>
Trait Implementations
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 Plugin
impl UnwindSafe for Plugin
Blanket Implementations
Mutably borrows from an owned value. Read more