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§
source§impl<'de> Deserialize<'de> for Plugin
impl<'de> Deserialize<'de> for Plugin
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Plugin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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
source§impl Serialize for Plugin
impl Serialize for Plugin
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
impl StructuralPartialEq for Plugin
Auto Trait Implementations§
impl Freeze for Plugin
impl RefUnwindSafe for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl UnwindSafe for Plugin
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)