Skip to main content

lookup

Function lookup 

Source
pub async fn lookup(
    id: &PubmedId,
    ctx: &FetchContext,
) -> Result<Lookup, FetchError>
Expand description

Ask NCBI E-utilities for the DOI of id.

ยงErrors

FetchError for a transport failure or an answer that is not E-utilities JSON; a record without a DOI, or no record, is a Lookup.