#[non_exhaustive]pub enum Reason {
Matches,
PartlyMatches {
differs: Vec<Difference>,
},
Closest {
differs: Vec<Difference>,
},
NoMatch,
IdExists,
IdAgrees,
IdPartlyMatches {
differs: Vec<Difference>,
},
IdElsewhere {
cited: usize,
},
IdDisagrees,
IdMissingElsewhere,
IdMissing,
ProvidersFailed,
}Expand description
Why a verdict was reached. “The work” is the verdict’s candidate
(Verification::best); “the identifiers” are those the claim gave.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Matches
The citation matches the work. (Verified)
PartlyMatches
The citation partly matches the work. (Plausible)
Fields
differs: Vec<Difference>Closest
The closest work shares the title, but other details differ. (Mismatch)
Fields
differs: Vec<Difference>NoMatch
No matching work. (NotFound)
IdExists
The identifiers exist; the claim gives nothing else to compare. (Verified)
IdAgrees
The identifiers exist and the citation agrees. (Verified)
IdPartlyMatches
The identifiers exist and the citation partly matches, or shares the title with an error such as a wrong year. (Plausible)
Fields
differs: Vec<Difference>IdElsewhere
The identifiers are another work (candidate cited); the citation
matches the work. (Mismatch)
IdDisagrees
The identifiers’ work (the work) doesn’t match the citation, and no other does. (Mismatch)
IdMissingElsewhere
The identifiers don’t exist; the citation matches the work. (Mismatch)
IdMissing
The identifiers don’t exist, and no matching work was found. (NotFound)
ProvidersFailed
Providers failed, so nothing conclusive can be said. (Unverifiable)