pub struct ExcusesItem {
    pub maintainer: Option<String>,
    pub is_candidate: bool,
    pub new_version: Option<PackageVersion>,
    pub old_version: Option<PackageVersion>,
    pub item_name: String,
    pub source: String,
    pub invalidated_by_other_package: Option<bool>,
    pub component: Option<Component>,
    pub missing_builds: Option<MissingBuilds>,
    pub policy_info: Option<PolicyInfo>,
    pub excuses: Vec<String>,
    pub migration_policy_verdict: Verdict,
}
Expand description

A source package’s excuses

Fields§

§maintainer: Option<String>

Maintainer of the package

§is_candidate: bool

The item is a candidate for migration

§new_version: Option<PackageVersion>

Version in the source suite, i.e., the version to migrate

If the value is None, the package is being removed.

§old_version: Option<PackageVersion>

Version in the target suite

If the value is None, the package is not yet available in the target suite.

§item_name: String

Migration item name

§source: String

Source package name

§invalidated_by_other_package: Option<bool>

Migration is blocked by another package

§component: Option<Component>

Component of the source package

§missing_builds: Option<MissingBuilds>

Missing builds

§policy_info: Option<PolicyInfo>

Policy info

§excuses: Vec<String>

The excuses

§migration_policy_verdict: Verdict

Combined verdict

Implementations§

Excuses item refers to package removal

Excuses item refers to a binNMU

Get architecture of the binNMU or None

Excuses item refers to an item in (stable) proposed-updates

Excuses item refers to an item in testing-proposed-updates

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

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

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.