Struct ArticleMeta
pub struct ArticleMeta {Show 21 fields
pub pmcid: PmcId,
pub pmid: Option<PubMedId>,
pub doi: Option<String>,
pub categories: Vec<String>,
pub title_group: TitleGroup,
pub authors: Vec<Author>,
pub pub_dates: Vec<PublicationDate>,
pub volume: Option<String>,
pub issue: Option<String>,
pub fpage: Option<String>,
pub lpage: Option<String>,
pub elocation_id: Option<String>,
pub history: Vec<HistoryDate>,
pub permissions: Option<Permissions>,
pub abstracts: Vec<Abstract>,
pub keywords: Vec<String>,
pub keyword_groups: Vec<KeywordGroup>,
pub subject_groups: Vec<SubjectGroup>,
pub related_articles: Vec<RelatedArticle>,
pub author_notes: Vec<String>,
pub funding: Vec<FundingInfo>,
}Expand description
Article metadata.
Maps to JATS <article-meta>. Fields follow the DTD declaration order:
article-id*, article-categories?, title-group, contrib-group*, pub-date*, volume?, issue?, fpage?, lpage?, elocation-id?, history?, permissions?, abstract*, kwd-group*, funding-group*.
Fields§
§pmcid: PmcIdPMC ID (e.g., PMC7906746). From <article-id pub-id-type="pmc">.
pmid: Option<PubMedId>PubMed ID. From <article-id pub-id-type="pmid">.
doi: Option<String>DOI. From <article-id pub-id-type="doi">.
categories: Vec<String>Subject categories. From <article-categories>/<subj-group>/<subject>.
title_group: TitleGroupTitle group. From <title-group>.
Authors. From <contrib-group>/<contrib contrib-type="author">.
pub_dates: Vec<PublicationDate>Publication dates (epub, ppub, collection, etc.). From <pub-date>.
volume: Option<String>Volume number. From <volume>.
issue: Option<String>Issue number. From <issue>.
fpage: Option<String>First page. From <fpage>.
lpage: Option<String>Last page. From <lpage>.
elocation_id: Option<String>Electronic location ID. From <elocation-id>.
history: Vec<HistoryDate>Publication history dates. From <history>/<date>.
permissions: Option<Permissions>Copyright and licensing. From <permissions>.
abstracts: Vec<Abstract>Abstracts. From <abstract> (repeatable in the DTD, e.g. a main
abstract plus a graphical or teaser abstract).
keywords: Vec<String>Keywords (flattened across all groups). From <kwd-group>/<kwd>.
keyword_groups: Vec<KeywordGroup>Keyword groups, preserving kwd-group-type and xml:lang. From
<kwd-group>. This is the structured counterpart of keywords,
distinguishing e.g. author-supplied keywords from MeSH-derived ones.
subject_groups: Vec<SubjectGroup>Subject groups, preserving subj-group-type. From
<article-categories>/<subj-group>. Structured counterpart of
categories.
Related articles (corrections, retractions, companion/peer-reviewed
articles). From <related-article>.
Author notes (correspondence details, equal-contribution and present-
address statements). From <author-notes> (<corresp> / <fn>).
funding: Vec<FundingInfo>Funding information. From <funding-group>/<award-group>.
Trait Implementations§
§impl Clone for ArticleMeta
impl Clone for ArticleMeta
§fn clone(&self) -> ArticleMeta
fn clone(&self) -> ArticleMeta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for ArticleMeta
impl Debug for ArticleMeta
§impl<'de> Deserialize<'de> for ArticleMeta
impl<'de> Deserialize<'de> for ArticleMeta
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArticleMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArticleMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl PartialEq for ArticleMeta
impl PartialEq for ArticleMeta
§impl Serialize for ArticleMeta
impl Serialize for ArticleMeta
§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,
impl StructuralPartialEq for ArticleMeta
Auto Trait Implementations§
impl Freeze for ArticleMeta
impl RefUnwindSafe for ArticleMeta
impl Send for ArticleMeta
impl Sync for ArticleMeta
impl Unpin for ArticleMeta
impl UnwindSafe for ArticleMeta
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
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>
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>
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