pub struct PackageArchitecture {
pub dependencies: Override<Vec<RelationOrSoname>>,
pub optional_dependencies: Override<Vec<OptionalDependency>>,
pub provides: Override<Vec<RelationOrSoname>>,
pub conflicts: Override<Vec<PackageRelation>>,
pub replaces: Override<Vec<PackageRelation>>,
}
Expand description
Architecture specific package properties for use in Package
.
For each Architecture
defined in Package::architectures
a PackageArchitecture
is
present in Package::architecture_properties
.
Fields§
§dependencies: Override<Vec<RelationOrSoname>>
The (potentially overridden) list of run-time dependencies of the package.
optional_dependencies: Override<Vec<OptionalDependency>>
The (potentially overridden) list of optional dependencies of the package.
provides: Override<Vec<RelationOrSoname>>
The (potentially overridden) list of provisions of the package.
conflicts: Override<Vec<PackageRelation>>
The (potentially overridden) list of conflicts of the package.
replaces: Override<Vec<PackageRelation>>
The (potentially overridden) list of replacements of the package.
Trait Implementations§
Source§impl Clone for PackageArchitecture
impl Clone for PackageArchitecture
Source§fn clone(&self) -> PackageArchitecture
fn clone(&self) -> PackageArchitecture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PackageArchitecture
impl Debug for PackageArchitecture
Source§impl Default for PackageArchitecture
impl Default for PackageArchitecture
Source§fn default() -> PackageArchitecture
fn default() -> PackageArchitecture
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackageArchitecture
impl<'de> Deserialize<'de> for PackageArchitecture
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 PartialEq for PackageArchitecture
impl PartialEq for PackageArchitecture
Source§impl Serialize for PackageArchitecture
impl Serialize for PackageArchitecture
impl StructuralPartialEq for PackageArchitecture
Auto Trait Implementations§
impl Freeze for PackageArchitecture
impl RefUnwindSafe for PackageArchitecture
impl Send for PackageArchitecture
impl Sync for PackageArchitecture
impl Unpin for PackageArchitecture
impl UnwindSafe for PackageArchitecture
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