pub struct BinaryControl {Show 20 fields
pub package: String,
pub source: Option<SourceName>,
pub version: Version,
pub section: Option<String>,
pub priority: Option<Priority>,
pub architecture: Option<Architecture>,
pub essential: Option<String>,
pub installed_size: Option<Number<usize>>,
pub maintainer: String,
pub description: String,
pub homepage: Option<String>,
pub depends: Option<Dependency>,
pub recommends: Option<Dependency>,
pub conflicts: Option<Dependency>,
pub suggests: Option<Dependency>,
pub provides: Option<Dependency>,
pub built_using: Option<Dependency>,
pub breaks: Option<Dependency>,
pub enhances: Option<Dependency>,
pub pre_depends: Option<Dependency>,
}Expand description
Debian binary (.deb) binary control file (sometimes called
DEBIAN/control – note the upper case), as seen in binary deb files.
Fields§
§package: StringBinary package name
source: Option<SourceName>The value of this field determines the package name, and is used to generate file names by most installation tools.
version: VersionTypically, this is the original package’s Version number in whatever form the program’s author uses. It may also include a Debian revision number (for non-native packages).
section: Option<String>Archive Section that this package belongs to.
priority: Option<Priority>Priority of the binary package.
architecture: Option<Architecture>Lists the crate::architecture::Architecture of the files contained
in this package. Common architectures are amd64, armel, i386,
(crate::architecture::AMD64,
crate::architecture::ARMEL,
crate::architecture::I386), etc.
essential: Option<String>If set, and set to “yes”, this package is an essential package,
which has special-cased handling in dpkg and apt.
installed_size: Option<Number<usize>>Size of the package’s contents on-disk.
maintainer: StringName and email of the package’s maintainer.
description: StringDescription of this binary package’s purpose.
homepage: Option<String>The upstream project home page url.
depends: Option<Dependency>Packages that this binary package requires be installed in order to be fully installed.
recommends: Option<Dependency>Packages which this binary package needs to be installed in all but the most unusual installs. Removing one may cause breakage if their purpose is not understood.
conflicts: Option<Dependency>Packages which this binary package must not be installed at the same time as.
suggests: Option<Dependency>Packages which could be interesting to be installed along with this package.
provides: Option<Dependency>Virtual packages this package provides.
built_using: Option<Dependency>Packages that were used to produce this binary file.
This is used from within the archive to ensure that source packages are not removed when their source is still included in a binary, but it may also be helpful to use when tracking down issues or triaging what packages need to be rebuilt.
breaks: Option<Dependency>Packages which will become broken by the installation of this binary package.
enhances: Option<Dependency>Package makes another package better.
pre_depends: Option<Dependency>Packages which must be installed before this binary begins to unpack.
Trait Implementations§
Source§impl Clone for BinaryControl
impl Clone for BinaryControl
Source§fn clone(&self) -> BinaryControl
fn clone(&self) -> BinaryControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more