#[non_exhaustive]pub struct Variant {Show 14 fields
pub kind: VariantKind,
pub descr: String,
pub family: String,
pub parent: String,
pub detect: Detect,
pub supported: Supported,
pub commands: HashMap<String, HashMap<String, Vec<String>>>,
pub min_sys_python: String,
pub repo: Repo,
pub package: HashMap<String, String>,
pub systemd_lib: String,
pub file_ext: String,
pub initramfs_flavor: String,
pub builder: Builder,
}
Expand description
A single StorPool build variant with all its options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: VariantKind
Which variant is that?
descr: String
The human-readable description of the variant.
family: String
The OS “family” that this distribution belongs to.
parent: String
The name of the variant that this one is based on.
detect: Detect
The ways to check whether we are running this variant.
supported: Supported
The aspects of StorPool operation supported for this build variant.
commands: HashMap<String, HashMap<String, Vec<String>>>
The OS commands to execute for particular purposes.
min_sys_python: String
The minimum Python version that we can depend on.
repo: Repo
The StorPool repository files to install.
package: HashMap<String, String>
The names of the packages to be used for this variant.
systemd_lib: String
The name of the directory to install systemd unit files to.
file_ext: String
The filename extension of the OS packages (“deb”, “rpm”, etc.).
initramfs_flavor: String
The type of initramfs-generating tools.
builder: Builder
The data specific to the StorPool builder containers.