pub struct PluginDescriptor {
pub name: String,
pub version: String,
pub semantic_hash: String,
pub event_audiences: BTreeMap<String, EventAudience>,
pub systems: Vec<SystemContract>,
pub boundary_systems: Vec<BoundarySystemContract>,
pub commands: Vec<PluginActionDescriptor>,
pub ingress: Vec<PluginIngressDescriptor>,
pub schema_types: Vec<String>,
pub record_schemas: Vec<DomainRecordSchema>,
pub knowledge_schemas: Vec<PluginKnowledgeSchema>,
}Fields§
§name: String§version: String§semantic_hash: String§event_audiences: BTreeMap<String, EventAudience>Declarative visibility policies for emitted plugin event types. Unlisted event types are private to player-facing projections.
systems: Vec<SystemContract>§boundary_systems: Vec<BoundarySystemContract>§commands: Vec<PluginActionDescriptor>§ingress: Vec<PluginIngressDescriptor>§schema_types: Vec<String>§record_schemas: Vec<DomainRecordSchema>§knowledge_schemas: Vec<PluginKnowledgeSchema>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 Default for PluginDescriptor
impl Default for PluginDescriptor
Source§fn default() -> PluginDescriptor
fn default() -> PluginDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginDescriptor
impl<'de> Deserialize<'de> for PluginDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PluginDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PluginDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginDescriptor
Source§impl From<LegacyV4PluginDescriptor> for PluginDescriptor
impl From<LegacyV4PluginDescriptor> for PluginDescriptor
Source§fn from(value: LegacyV4PluginDescriptor) -> PluginDescriptor
fn from(value: LegacyV4PluginDescriptor) -> PluginDescriptor
Converts to this type from the input type.
Source§impl PartialEq for PluginDescriptor
impl PartialEq for PluginDescriptor
Source§impl Serialize for PluginDescriptor
impl Serialize for PluginDescriptor
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 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