Struct EuropePmcResult
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§
§impl Clone for EuropePmcResult
impl Clone for EuropePmcResult
§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 more§impl Debug for EuropePmcResult
impl Debug for EuropePmcResult
§impl Default for EuropePmcResult
impl Default for EuropePmcResult
§fn default() -> EuropePmcResult
fn default() -> EuropePmcResult
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for EuropePmcResult
impl<'de> Deserialize<'de> for EuropePmcResult
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EuropePmcResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EuropePmcResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for EuropePmcResult
impl PartialEq for EuropePmcResult
§impl Serialize for EuropePmcResult
impl Serialize for EuropePmcResult
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().