pub struct Bundle {
pub bundle: String,
pub vendor: Option<String>,
pub class: String,
pub version: String,
pub license_set: Option<String>,
pub changelog: Option<String>,
pub generator: Option<String>,
pub is_default_variant: Option<bool>,
pub description: String,
pub doc: String,
pub components: Vec<Component>,
}Expand description
Represents a bundle element
Groups a set of interdependent components under a shared class, version, and name.
The Cclass and Cversion attributes are inherited by all enclosed components.
Fields§
§bundle: StringBundle name; becomes part of each enclosed component’s ID
vendor: Option<String>Component vendor; derives from package vendor if omitted
class: StringComponent class shared by all enclosed components
version: StringVersion shared by all enclosed components unless individually overridden
license_set: Option<String>References a licenseSet identifier governing usage rights
changelog: Option<String>References a changelog ID with the bundle change history
generator: Option<String>Links to a <generator> entry in the same pack
is_default_variant: Option<bool>Marks this variant as the preferred choice for automated updates
description: StringBrief description of the bundle (max 256 characters)
doc: StringPath to the bundle documentation file relative to the pack root
components: Vec<Component>Components enclosed in this bundle (1..*)