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§
Source§impl ExcusesItem
impl ExcusesItem
Sourcepub fn is_removal(&self) -> bool
pub fn is_removal(&self) -> bool
Excuses item refers to package removal
Sourcepub fn binnmu_arch(&self) -> Option<Architecture>
pub fn binnmu_arch(&self) -> Option<Architecture>
Get architecture of the binNMU or None
Sourcepub fn is_from_pu(&self) -> bool
pub fn is_from_pu(&self) -> bool
Excuses item refers to an item in (stable) proposed-updates
Sourcepub fn is_from_tpu(&self) -> bool
pub fn is_from_tpu(&self) -> bool
Excuses item refers to an item in testing-proposed-updates
Trait Implementations§
Source§impl Debug for ExcusesItem
impl Debug for ExcusesItem
Source§impl<'de> Deserialize<'de> for ExcusesItem
impl<'de> Deserialize<'de> for ExcusesItem
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 ExcusesItem
impl PartialEq for ExcusesItem
impl Eq for ExcusesItem
impl StructuralPartialEq for ExcusesItem
Auto Trait Implementations§
impl Freeze for ExcusesItem
impl RefUnwindSafe for ExcusesItem
impl Send for ExcusesItem
impl Sync for ExcusesItem
impl Unpin for ExcusesItem
impl UnwindSafe for ExcusesItem
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.