#[non_exhaustive]pub enum Decision {
IdentifierAndTitle,
IdentifierAndPage,
OnlyIdentifier,
TitleSearch,
}Expand description
What decided which work a document is, from surest to least sure.
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.
IdentifierAndTitle
An identifier on the page, its work’s title matching the title given.
IdentifierAndPage
An identifier on the page, its work’s title and first author on the page too.
OnlyIdentifier
The page’s only identifier, with no title to check it against.
TitleSearch
No identifier confirmed: a search for the title and the top of the page.
Implementations§
Trait Implementations§
impl Copy for Decision
impl Eq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Forget for Decision
impl Freeze for Decision
impl Move for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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