pub struct DeckComparison {
pub deck_a: String,
pub deck_b: String,
pub key_field: String,
pub similarity_threshold: f64,
pub only_in_a: Vec<ComparisonNote>,
pub only_in_b: Vec<ComparisonNote>,
pub exact_matches: Vec<(ComparisonNote, ComparisonNote)>,
pub similar: Vec<SimilarPair>,
}Expand description
Result of comparing two decks.
Fields§
§deck_a: StringName of the first deck.
deck_b: StringName of the second deck.
key_field: StringField used for comparison.
similarity_threshold: f64Similarity threshold used.
only_in_a: Vec<ComparisonNote>Notes only in deck A (not in B).
only_in_b: Vec<ComparisonNote>Notes only in deck B (not in A).
exact_matches: Vec<(ComparisonNote, ComparisonNote)>Notes with exact matching key field values.
similar: Vec<SimilarPair>Notes with similar (but not exact) key field values.
Trait Implementations§
Source§impl Clone for DeckComparison
impl Clone for DeckComparison
Source§fn clone(&self) -> DeckComparison
fn clone(&self) -> DeckComparison
Returns a duplicate of the value. Read more
1.0.0 · 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 DeckComparison
impl Debug for DeckComparison
Source§impl Default for DeckComparison
impl Default for DeckComparison
Source§fn default() -> DeckComparison
fn default() -> DeckComparison
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeckComparison
impl RefUnwindSafe for DeckComparison
impl Send for DeckComparison
impl Sync for DeckComparison
impl Unpin for DeckComparison
impl UnwindSafe for DeckComparison
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