Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PluginComponentSpec {
pub kind: String,
pub enabled: bool,
pub config: Map<String, Value>,
}
One configured plugin component.
kind: StringRegistered plugin kind string.
enabled: boolWhether the component should be activated.
Disabled components are still validated but skipped during runtime registration.
config: Map<String, Value>Component-local JSON config object passed to the plugin.
impl PluginComponentSpecimpl PluginComponentSpec
newpub fn new(kind: impl Into<String>) -> Self
Creates a new enabled component spec with empty config.
impl Clone for PluginComponentSpecimpl Clone for PluginComponentSpec
clonefn clone(&self) -> PluginComponentSpec
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for PluginComponentSpecimpl Debug for PluginComponentSpec
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for PluginComponentSpecimpl<'de> Deserialize<'de> for PluginComponentSpec
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl From<ComponentSpec> for PluginComponentSpecimpl From<ComponentSpec> for PluginComponentSpec
fromfn from(value: ComponentSpec) -> Self
impl From<ComponentSpec> for PluginComponentSpecimpl From<ComponentSpec> for PluginComponentSpec
fromfn from(value: ComponentSpec) -> Self
impl Serialize for PluginComponentSpecimpl Serialize for PluginComponentSpec
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,