pub struct PluginIdentity {
pub sector: &'static str,
pub name: &'static str,
pub version: &'static str,
pub description: &'static str,
}Expand description
The identity fields that genuinely vary per plugin — everything else in
PluginMeta (license, author, homepage) is a fixed Odal Node
convention supplied by the default DppSectorPlugin::meta.
Fields§
§sector: &'static strSector key this plugin handles, e.g. "textile", "steel", "battery".
name: &'static strHuman-readable plugin name.
version: &'static strSemVer version string of the plugin itself, typically
env!("CARGO_PKG_VERSION").
description: &'static strBrief description of what this plugin does.
Auto Trait Implementations§
impl Freeze for PluginIdentity
impl RefUnwindSafe for PluginIdentity
impl Send for PluginIdentity
impl Sync for PluginIdentity
impl Unpin for PluginIdentity
impl UnsafeUnpin for PluginIdentity
impl UnwindSafe for PluginIdentity
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