pub struct PluginMeta {
pub product_group: String,
pub name: String,
pub version: String,
pub license: String,
pub description: Option<String>,
pub author: Option<String>,
pub homepage: Option<String>,
}Expand description
Static metadata returned by a plugin.
Fields§
§product_group: StringProductGroup key this plugin handles, e.g. "textile", "steel", "battery".
name: StringHuman-readable plugin name.
version: StringSemVer version string of the plugin itself.
license: StringSPDX license identifier.
description: Option<String>Brief description of what this plugin does.
Plugin author or organisation.
homepage: Option<String>URL for plugin documentation or source code.
Trait Implementations§
Source§impl Clone for PluginMeta
impl Clone for PluginMeta
Source§impl Debug for PluginMeta
impl Debug for PluginMeta
Source§impl<'de> Deserialize<'de> for PluginMeta
impl<'de> Deserialize<'de> for PluginMeta
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 PluginMeta
impl RefUnwindSafe for PluginMeta
impl Send for PluginMeta
impl Sync for PluginMeta
impl Unpin for PluginMeta
impl UnsafeUnpin for PluginMeta
impl UnwindSafe for PluginMeta
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