pub struct Citation {Show 20 fields
pub citation_type: Vec<String>,
pub title: String,
pub authors: Vec<Author>,
pub journal: Option<String>,
pub journal_abbr: Option<String>,
pub date: Option<Date>,
pub volume: Option<String>,
pub issue: Option<String>,
pub pages: Option<String>,
pub issn: Vec<String>,
pub doi: Option<String>,
pub pmid: Option<String>,
pub pmc_id: Option<String>,
pub abstract_text: Option<String>,
pub keywords: Vec<String>,
pub urls: Vec<String>,
pub language: Option<String>,
pub mesh_terms: Vec<String>,
pub publisher: Option<String>,
pub extra_fields: HashMap<String, Vec<String>>,
}Expand description
Represents a single citation with its metadata.
Fields§
§citation_type: Vec<String>Type of the citation
title: StringTitle of the work
List of authors
journal: Option<String>Journal name
journal_abbr: Option<String>Journal abbreviation
date: Option<Date>Publication date with year, month, and day
volume: Option<String>Volume number
issue: Option<String>Issue number
pages: Option<String>Page range
issn: Vec<String>ISSN of the journal
doi: Option<String>Digital Object Identifier
pmid: Option<String>PubMed ID
pmc_id: Option<String>PMC ID
abstract_text: Option<String>Abstract text
keywords: Vec<String>Keywords
urls: Vec<String>URLs
language: Option<String>Language
mesh_terms: Vec<String>MeSH Terms
publisher: Option<String>Publisher
extra_fields: HashMap<String, Vec<String>>Additional fields not covered by standard fields
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Citation
impl<'de> Deserialize<'de> for Citation
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
Auto Trait Implementations§
impl Freeze for Citation
impl RefUnwindSafe for Citation
impl Send for Citation
impl Sync for Citation
impl Unpin for Citation
impl UnsafeUnpin for Citation
impl UnwindSafe for Citation
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,
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