Struct assorted_debian_utils::excuses::ExcusesItem
source · [−]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>,
}
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
Implementations
sourceimpl 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
sourceimpl Debug for ExcusesItem
impl Debug for ExcusesItem
sourceimpl<'de> Deserialize<'de> for ExcusesItem
impl<'de> Deserialize<'de> for ExcusesItem
sourcefn 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
sourceimpl PartialEq<ExcusesItem> for ExcusesItem
impl PartialEq<ExcusesItem> for ExcusesItem
sourcefn eq(&self, other: &ExcusesItem) -> bool
fn eq(&self, other: &ExcusesItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExcusesItem) -> bool
fn ne(&self, other: &ExcusesItem) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExcusesItem
Auto Trait Implementations
impl RefUnwindSafe for ExcusesItem
impl Send for ExcusesItem
impl Sync for ExcusesItem
impl Unpin for ExcusesItem
impl UnwindSafe for ExcusesItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more