pub struct PluginConf {
pub author: String,
pub capabilities: Vec<String>,
pub enabled: bool,
pub id: i32,
pub license: String,
pub module_path: String,
pub name: String,
pub token: String,
pub website: String,
}
Fields§
§capabilities: Vec<String>
§enabled: bool
§id: i32
§license: String
§module_path: String
§name: String
§token: String
§website: String
Trait Implementations§
Source§impl Debug for PluginConf
impl Debug for PluginConf
Source§impl<'de> Deserialize<'de> for PluginConf
impl<'de> Deserialize<'de> for PluginConf
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 PluginConf
impl RefUnwindSafe for PluginConf
impl Send for PluginConf
impl Sync for PluginConf
impl Unpin for PluginConf
impl UnwindSafe for PluginConf
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