pub struct ModuleDescriptor {
pub api_version: String,
pub id: ModuleId,
pub version: SemanticVersion,
pub dependencies: Vec<ModuleDependency>,
pub execution: ExecutionPlane,
pub required_capabilities: BTreeSet<CapabilityId>,
pub execute_entries: Vec<ExecuteEntryDefinition>,
pub clocks: Vec<ClockDefinition>,
pub systems: Vec<SystemDefinition>,
}Fields§
§api_version: String§id: ModuleId§version: SemanticVersion§dependencies: Vec<ModuleDependency>§execution: ExecutionPlane§required_capabilities: BTreeSet<CapabilityId>§execute_entries: Vec<ExecuteEntryDefinition>§clocks: Vec<ClockDefinition>§systems: Vec<SystemDefinition>Trait Implementations§
Source§impl Clone for ModuleDescriptor
impl Clone for ModuleDescriptor
Source§impl Debug for ModuleDescriptor
impl Debug for ModuleDescriptor
Source§impl<'de> Deserialize<'de> for ModuleDescriptor
impl<'de> Deserialize<'de> for ModuleDescriptor
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
Source§impl JsonSchema for ModuleDescriptor
impl JsonSchema for ModuleDescriptor
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ModuleDescriptor
impl PartialEq for ModuleDescriptor
Source§impl Serialize for ModuleDescriptor
impl Serialize for ModuleDescriptor
impl StructuralPartialEq for ModuleDescriptor
Auto Trait Implementations§
impl Freeze for ModuleDescriptor
impl RefUnwindSafe for ModuleDescriptor
impl Send for ModuleDescriptor
impl Sync for ModuleDescriptor
impl Unpin for ModuleDescriptor
impl UnsafeUnpin for ModuleDescriptor
impl UnwindSafe for ModuleDescriptor
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