pub struct PluginReport {
pub detailed: DetailedPluginInfo,
pub parameters: Vec<Parameter>,
}Expand description
A complete, serializable report of a plugin: static introspection plus its parameter list. Build it after loading the plugin and serialize to JSON for export (e.g. the inspector’s “Copy JSON”, or feeding plugin metadata to other tools).
Fields§
§detailed: DetailedPluginInfoStatic introspection: factory, classes, bus layout, basic info.
parameters: Vec<Parameter>The plugin’s parameters (normalized values + metadata).
Implementations§
Source§impl PluginReport
impl PluginReport
Sourcepub fn new(detailed: DetailedPluginInfo, parameters: Vec<Parameter>) -> Self
pub fn new(detailed: DetailedPluginInfo, parameters: Vec<Parameter>) -> Self
Bundle a DetailedPluginInfo with a parameter list (from
crate::Plugin::get_parameters).
Trait Implementations§
Source§impl Clone for PluginReport
impl Clone for PluginReport
Source§fn clone(&self) -> PluginReport
fn clone(&self) -> PluginReport
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 PluginReport
impl Debug for PluginReport
Source§impl<'de> Deserialize<'de> for PluginReport
impl<'de> Deserialize<'de> for PluginReport
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 PluginReport
impl RefUnwindSafe for PluginReport
impl Send for PluginReport
impl Sync for PluginReport
impl Unpin for PluginReport
impl UnsafeUnpin for PluginReport
impl UnwindSafe for PluginReport
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