pub struct PluginManifest {
pub plugin_id: String,
pub display_name: String,
pub version: String,
pub sensors: Vec<SensorDescriptor>,
pub devices: Vec<HardwareDevice>,
}Fields§
§plugin_id: String§display_name: String§version: String§sensors: Vec<SensorDescriptor>§devices: Vec<HardwareDevice>ABI v4: per-plugin hardware devices the host should integrate into
its Hardware page + nickname store. The daemon validates each
device key, ensures uniqueness within the manifest, and rejects
dangling SensorDescriptor::device_key references before the
manifest enters the registry. See ADR-0002.
Trait Implementations§
Source§impl Clone for PluginManifest
impl Clone for PluginManifest
Source§fn clone(&self) -> PluginManifest
fn clone(&self) -> PluginManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginManifest
impl Debug for PluginManifest
Source§impl From<PluginManifest> for RPluginManifest
impl From<PluginManifest> for RPluginManifest
Source§fn from(m: PluginManifest) -> Self
fn from(m: PluginManifest) -> Self
Converts to this type from the input type.
Source§impl From<RPluginManifest> for PluginManifest
impl From<RPluginManifest> for PluginManifest
Source§fn from(r: RPluginManifest) -> Self
fn from(r: RPluginManifest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginManifest
impl PartialEq for PluginManifest
Source§fn eq(&self, other: &PluginManifest) -> bool
fn eq(&self, other: &PluginManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PluginManifest
Auto Trait Implementations§
impl Freeze for PluginManifest
impl RefUnwindSafe for PluginManifest
impl Send for PluginManifest
impl Sync for PluginManifest
impl Unpin for PluginManifest
impl UnsafeUnpin for PluginManifest
impl UnwindSafe for PluginManifest
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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