Struct bollard::service::Plugin [−][src]
pub struct Plugin {
pub id: Option<String>,
pub name: String,
pub enabled: bool,
pub settings: PluginSettings,
pub plugin_reference: Option<String>,
pub config: PluginConfig,
}
Expand description
A plugin for the Engine API
Fields
id: Option<String>
name: String
enabled: bool
True if the plugin is running. False if the plugin is not running, only installed.
settings: PluginSettings
plugin_reference: Option<String>
plugin remote reference used to push/pull the plugin
config: PluginConfig
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Plugin, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Plugin, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Plugin
impl UnwindSafe for Plugin
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more