pub struct ReferencesSource { /* private fields */ }Expand description
Citation-graph half of the OpenAlex adapter: resolve the W… ids a paper
references, then hydrate those ids into Paper records; and the reverse,
list the works citing a paper via the cites: filter.
Implementations§
Source§impl ReferencesSource
impl ReferencesSource
pub fn new() -> Self
Sourcepub async fn reference_ids(&self, paper: &Paper) -> Result<Vec<String>>
pub async fn reference_ids(&self, paper: &Paper) -> Result<Vec<String>>
OpenAlex work ids (W…) referenced by paper. The paper must carry an
openalex_id or a DOI; anything else cannot be resolved.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReferencesSource
impl !UnwindSafe for ReferencesSource
impl Freeze for ReferencesSource
impl Send for ReferencesSource
impl Sync for ReferencesSource
impl Unpin for ReferencesSource
impl UnsafeUnpin for ReferencesSource
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