pub struct PluginDescriptor {Show 17 fields
pub id: PluginId,
pub version: Version,
pub core_compatibility: VersionReq,
pub stability: PluginStability,
pub description: String,
pub default_enabled: bool,
pub configuration_namespace: String,
pub documentation: Option<String>,
pub data_classes: Vec<DataClass>,
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>,
pub configuration: Vec<ConfigurationField>,
}Fields§
§id: PluginId§version: Version§core_compatibility: VersionReqMinco core API versions accepted by this plugin.
stability: PluginStability§description: String§default_enabled: bool§configuration_namespace: StringStable configuration namespace. Applications should not derive this from a Rust type name or crate path.
documentation: Option<String>§data_classes: Vec<DataClass>§plugin_dependencies: Vec<PluginId>§requires: Vec<CapabilityRequirement>§provides: Vec<CapabilityProvision>§operations: Vec<OperationDescriptor>§migrations: Vec<MigrationSet>§health_checks: Vec<HealthCheckDescriptor>§resources: Vec<ResourceIntent>§configuration: Vec<ConfigurationField>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