Struct guppy_summaries::diff::PackageDiff [−][src]
pub struct PackageDiff<'a> {
pub changed: BTreeMap<&'a SummaryId, SummaryDiffStatus<'a>>,
pub unchanged: BTreeMap<&'a str, Vec<UnchangedInfo<'a>>>,
}
Expand description
A diff from a particular section of a summary.
Fields
changed: BTreeMap<&'a SummaryId, SummaryDiffStatus<'a>>
Changed packages.
unchanged: BTreeMap<&'a str, Vec<UnchangedInfo<'a>>>
Unchanged packages, keyed by name.
Implementations
Constructs a new PackageDiff
from a pair of PackageMap
instances.
Returns true if there are no changes in this diff.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PackageDiff<'a>
impl<'a> Send for PackageDiff<'a>
impl<'a> Sync for PackageDiff<'a>
impl<'a> Unpin for PackageDiff<'a>
impl<'a> UnwindSafe for PackageDiff<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.