pub struct ComparisonReport {
pub comparisons: Vec<ProductComparison>,
}Expand description
The full cross-source comparison, ordered deterministically by location then kind.
Fields§
§comparisons: Vec<ProductComparison>One entry per distinct (kind, location).
Implementations§
Source§impl ComparisonReport
impl ComparisonReport
Sourcepub fn disagreements(&self) -> impl Iterator<Item = &ProductComparison>
pub fn disagreements(&self) -> impl Iterator<Item = &ProductComparison>
Comparisons where the reporting sources disagreed.
Trait Implementations§
Source§impl Clone for ComparisonReport
impl Clone for ComparisonReport
Source§fn clone(&self) -> ComparisonReport
fn clone(&self) -> ComparisonReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComparisonReport
impl Debug for ComparisonReport
Source§impl Display for ComparisonReport
impl Display for ComparisonReport
impl Eq for ComparisonReport
Source§impl PartialEq for ComparisonReport
impl PartialEq for ComparisonReport
Source§fn eq(&self, other: &ComparisonReport) -> bool
fn eq(&self, other: &ComparisonReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComparisonReport
Auto Trait Implementations§
impl Freeze for ComparisonReport
impl RefUnwindSafe for ComparisonReport
impl Send for ComparisonReport
impl Sync for ComparisonReport
impl Unpin for ComparisonReport
impl UnsafeUnpin for ComparisonReport
impl UnwindSafe for ComparisonReport
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