#[non_exhaustive]pub enum Finding {
Verdict {
verdict: Verdict,
reason: String,
},
AddDoi {
doi: WorkId,
},
ReplaceId {
claimed: WorkId,
with: Option<WorkId>,
},
YearDiffers {
claimed: i16,
actual: i16,
},
Duplicate {
of: usize,
},
Updated {
update: Update,
},
}Expand description
Something to fix or know about one entry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Verdict
The verdict itself, when it isn’t verified.
AddDoi
Verified, but the entry has no DOI; the matched work’s.
ReplaceId
The entry’s identifier is wrong; the matched work’s, if known.
YearDiffers
The entry’s year differs from the matched work’s: an error beyond one year, otherwise info.
Duplicate
Another entry (by index) cites the same work.
Updated
The work has an editorial notice: retraction, correction, ….
Implementations§
Trait Implementations§
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Forget for Finding
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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