pub struct EuropePmcResult {
pub id: String,
pub source: String,
pub pmid: Option<String>,
pub pmcid: Option<String>,
pub doi: Option<String>,
pub title: Option<String>,
pub author_string: Option<String>,
pub journal_title: Option<String>,
pub pub_year: Option<String>,
pub is_open_access: Option<String>,
pub extra: Map<String, Value>,
}Expand description
A single search result record from the Europe PMC search endpoint.
Field coverage matches resultType=lite; resultType=core adds many more
fields which are preserved in EuropePmcResult::extra.
Fields§
§id: StringRecord identifier within its source database (e.g. a PMID for MED).
source: StringSource database code (MED, PMC, PPR, AGR, CBA, PAT, …).
pmid: Option<String>PubMed ID, when the record is linked to PubMed.
pmcid: Option<String>PubMed Central ID (e.g. PMC7894017), when full text is in PMC.
doi: Option<String>Digital Object Identifier.
title: Option<String>Article title.
Comma-separated author list, as provided by Europe PMC.
journal_title: Option<String>Journal title.
pub_year: Option<String>Publication year.
is_open_access: Option<String>Open access flag ("Y" / "N").
extra: Map<String, Value>Any additional fields not modelled above (populated for resultType=core).
Trait Implementations§
Source§impl Clone for EuropePmcResult
impl Clone for EuropePmcResult
Source§fn clone(&self) -> EuropePmcResult
fn clone(&self) -> EuropePmcResult
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 EuropePmcResult
impl Debug for EuropePmcResult
Source§impl Default for EuropePmcResult
impl Default for EuropePmcResult
Source§fn default() -> EuropePmcResult
fn default() -> EuropePmcResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EuropePmcResult
impl<'de> Deserialize<'de> for EuropePmcResult
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 EuropePmcResult
impl PartialEq for EuropePmcResult
Source§impl Serialize for EuropePmcResult
impl Serialize for EuropePmcResult
impl StructuralPartialEq for EuropePmcResult
Auto Trait Implementations§
impl Freeze for EuropePmcResult
impl RefUnwindSafe for EuropePmcResult
impl Send for EuropePmcResult
impl Sync for EuropePmcResult
impl Unpin for EuropePmcResult
impl UnwindSafe for EuropePmcResult
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