pub struct PaperLinks {
pub doi: Option<String>,
pub arxiv: Option<String>,
pub openalex_id: String,
pub title: String,
}Expand description
The cross-identifier “identity cluster” for a single work: its DOI, its arXiv preprint id (when one exists), the OpenAlex Work id, and the title.
This is the primitive behind #281 item 5 (arXiv ↔ published-DOI linking & dedup): given a published DOI, an agent can discover whether a free arXiv preprint of the same work exists (to read its full text, or to avoid fetching the preprint and the journal version twice).
Fields§
§doi: Option<String>Bare DOI (lower-cased), or None if OpenAlex has none for the work.
arxiv: Option<String>arXiv id of the preprint of this work, or None when no arXiv
location is recorded. A trailing version (v2) is kept.
openalex_id: StringOpenAlex Work id (W…).
title: StringWork title.
Trait Implementations§
Source§impl Clone for PaperLinks
impl Clone for PaperLinks
Source§fn clone(&self) -> PaperLinks
fn clone(&self) -> PaperLinks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaperLinks
impl Debug for PaperLinks
impl Eq for PaperLinks
Source§impl PartialEq for PaperLinks
impl PartialEq for PaperLinks
Source§impl Serialize for PaperLinks
impl Serialize for PaperLinks
impl StructuralPartialEq for PaperLinks
Auto Trait Implementations§
impl Freeze for PaperLinks
impl RefUnwindSafe for PaperLinks
impl Send for PaperLinks
impl Sync for PaperLinks
impl Unpin for PaperLinks
impl UnsafeUnpin for PaperLinks
impl UnwindSafe for PaperLinks
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