pub struct ProductComparison {
pub key: ProductKey,
pub agreement: Agreement,
pub values: Vec<SourcedValue>,
}Expand description
A per-product comparison across all sources.
Fields§
§key: ProductKeyWhat product this compares.
agreement: AgreementAgreement across the reporting sources.
values: Vec<SourcedValue>Each source’s value, sorted by source name then text.
Trait Implementations§
Source§impl Clone for ProductComparison
impl Clone for ProductComparison
Source§fn clone(&self) -> ProductComparison
fn clone(&self) -> ProductComparison
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 ProductComparison
impl Debug for ProductComparison
impl Eq for ProductComparison
Source§impl PartialEq for ProductComparison
impl PartialEq for ProductComparison
Source§fn eq(&self, other: &ProductComparison) -> bool
fn eq(&self, other: &ProductComparison) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductComparison
Auto Trait Implementations§
impl Freeze for ProductComparison
impl RefUnwindSafe for ProductComparison
impl Send for ProductComparison
impl Sync for ProductComparison
impl Unpin for ProductComparison
impl UnsafeUnpin for ProductComparison
impl UnwindSafe for ProductComparison
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