pub struct PackageDependencyFields {
Show 16 fields pub depends: Option<DependencyList>, pub recommends: Option<DependencyList>, pub suggests: Option<DependencyList>, pub enhances: Option<DependencyList>, pub pre_depends: Option<DependencyList>, pub breaks: Option<DependencyList>, pub conflicts: Option<DependencyList>, pub provides: Option<DependencyList>, pub replaces: Option<DependencyList>, pub build_depends: Option<DependencyList>, pub build_depends_indep: Option<DependencyList>, pub build_depends_arch: Option<DependencyList>, pub build_conflicts: Option<DependencyList>, pub build_conflicts_indep: Option<DependencyList>, pub build_conflicts_arch: Option<DependencyList>, pub built_using: Option<DependencyList>,
}
Expand description

Holds all fields related to package dependency metadata.

Instances of this type effectively describe the relationships between the package it describes and other packages.

See https://www.debian.org/doc/debian-policy/ch-relationships.html for a list of all the fields and what they mean.

Fields

depends: Option<DependencyList>

Depends.

recommends: Option<DependencyList>

Recommends.

suggests: Option<DependencyList>

Suggests.

enhances: Option<DependencyList>

Enhances.

pre_depends: Option<DependencyList>

Pre-Depends.

breaks: Option<DependencyList>

Breaks.

conflicts: Option<DependencyList>

Conflicts.

provides: Option<DependencyList>

Provides.

replaces: Option<DependencyList>

Replaces.

build_depends: Option<DependencyList>

Build-Depends.

build_depends_indep: Option<DependencyList>

Build-Depends-Indep.

build_depends_arch: Option<DependencyList>

Build-Depends-Arch.

build_conflicts: Option<DependencyList>

Build-Conflicts.

build_conflicts_indep: Option<DependencyList>

Build-Conflicts-Indep.

build_conflicts_arch: Option<DependencyList>

Build-Conflicts-Arch.

built_using: Option<DependencyList>

Built-Using.

Implementations

Construct an instance from a control paragraph.

Resolve the value of a given BinaryDependency field.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more