pub struct PluginDescriptor {
pub id: PluginId,
pub version: Version,
pub description: String,
pub default_enabled: bool,
pub plugin_dependencies: Vec<PluginId>,
pub requires: Vec<CapabilityRequirement>,
pub provides: Vec<CapabilityProvision>,
pub operations: Vec<OperationDescriptor>,
pub migrations: Vec<MigrationSet>,
pub health_checks: Vec<HealthCheckDescriptor>,
pub resources: Vec<ResourceIntent>,
}Fields§
§id: PluginId§version: Version§description: String§default_enabled: bool§plugin_dependencies: Vec<PluginId>§requires: Vec<CapabilityRequirement>§provides: Vec<CapabilityProvision>§operations: Vec<OperationDescriptor>§migrations: Vec<MigrationSet>§health_checks: Vec<HealthCheckDescriptor>§resources: Vec<ResourceIntent>Implementations§
Trait Implementations§
Source§impl Clone for PluginDescriptor
impl Clone for PluginDescriptor
Source§fn clone(&self) -> PluginDescriptor
fn clone(&self) -> PluginDescriptor
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 PluginDescriptor
impl Debug for PluginDescriptor
Source§impl<'de> Deserialize<'de> for PluginDescriptor
impl<'de> Deserialize<'de> for PluginDescriptor
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
impl Eq for PluginDescriptor
Source§impl PartialEq for PluginDescriptor
impl PartialEq for PluginDescriptor
Source§impl Serialize for PluginDescriptor
impl Serialize for PluginDescriptor
impl StructuralPartialEq for PluginDescriptor
Auto Trait Implementations§
impl Freeze for PluginDescriptor
impl RefUnwindSafe for PluginDescriptor
impl Send for PluginDescriptor
impl Sync for PluginDescriptor
impl Unpin for PluginDescriptor
impl UnsafeUnpin for PluginDescriptor
impl UnwindSafe for PluginDescriptor
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