pub struct Component {Show 23 fields
pub vendor: Option<String>,
pub class: Option<String>,
pub group: String,
pub sub: Option<String>,
pub variant: Option<String>,
pub version: Option<String>,
pub api_version: Option<String>,
pub condition: Option<String>,
pub custom: Option<bool>,
pub max_instances: Option<u32>,
pub is_default_variant: Option<bool>,
pub generator: Option<String>,
pub license_set: Option<String>,
pub view: Option<String>,
pub changelog: Option<String>,
pub deprecated: Option<bool>,
pub description: String,
pub rte_components_h: Option<String>,
pub pre_include_global_h: Option<String>,
pub pre_include_local_component_h: Option<String>,
pub files: ComponentFiles,
pub extensions: ComponentExtensions,
pub environments: Option<ComponentEnvironments>,
}Expand description
Represents a component element
Defines a single software component. Used for both top-level components and components
nested inside a bundle. When inside a bundle, class and version are absent (inherited).
Fields§
§vendor: Option<String>Component vendor; derives from package vendor if omitted
class: Option<String>Component class; absent when nested in a bundle (inherited)
group: StringComponent group
sub: Option<String>Component sub-group (3–32 characters)
variant: Option<String>Variant name (e.g. release, debug); mutually exclusive with other variants
version: Option<String>Component version; absent when nested in a bundle unless overriding
api_version: Option<String>API version consumed by this component
condition: Option<String>References a condition ID; component is included only if the condition is met
custom: Option<bool>If true, suppresses the automatic resolver; component requires manual selection
max_instances: Option<u32>Number of simultaneous instances allowed (1–10); default is 1
is_default_variant: Option<bool>Marks this variant as the preferred choice for automated updates
generator: Option<String>Links to a <generator> entry in the same pack
license_set: Option<String>References a licenseSet identifier governing usage rights
view: Option<String>User-facing visibility (always, never, maskable); default is always
changelog: Option<String>References a changelog ID with the component change history
deprecated: Option<bool>Marks the component as deprecated; deprecated components should not be used in new designs
description: StringBrief description of the component (max 256 characters)
rte_components_h: Option<String>C preprocessor definitions injected verbatim into RTE_Components.h
pre_include_global_h: Option<String>Content pre-included globally for all project modules via Pre_Include_Global.h
pre_include_local_component_h: Option<String>Content pre-included for this component’s modules only via Pre_Include_<Cclass>_<component>.h
files: ComponentFilesSource and header files that implement this component
extensions: ComponentExtensionsKey/value metadata extensions for toolchain or IDE integration
environments: Option<ComponentEnvironments>IDE-specific tool integration environments (0..1)