pub struct ResolvedCandidate {
pub doi: String,
pub title: String,
pub author: String,
pub year: Option<i32>,
pub score: f64,
pub source: String,
}Expand description
A candidate paper resolved from a bibliographic citation string.
Fields§
§doi: StringResolved DOI.
title: StringTitle of the resolved candidate.
First author or primary author representation.
year: Option<i32>Publication year, if resolved.
score: f64Token similarity overlap score in 0.0..=1.0.
source: StringResolving metadata source (e.g. "crossref").
Trait Implementations§
Source§impl Clone for ResolvedCandidate
impl Clone for ResolvedCandidate
Source§fn clone(&self) -> ResolvedCandidate
fn clone(&self) -> ResolvedCandidate
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 ResolvedCandidate
impl Debug for ResolvedCandidate
Source§impl<'de> Deserialize<'de> for ResolvedCandidate
impl<'de> Deserialize<'de> for ResolvedCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResolvedCandidate
impl PartialEq for ResolvedCandidate
Source§impl Serialize for ResolvedCandidate
impl Serialize for ResolvedCandidate
impl StructuralPartialEq for ResolvedCandidate
Auto Trait Implementations§
impl Freeze for ResolvedCandidate
impl RefUnwindSafe for ResolvedCandidate
impl Send for ResolvedCandidate
impl Sync for ResolvedCandidate
impl Unpin for ResolvedCandidate
impl UnsafeUnpin for ResolvedCandidate
impl UnwindSafe for ResolvedCandidate
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