ExportFormat

Trait ExportFormat 

Source
pub trait ExportFormat {
    // Required methods
    fn to_bibtex(&self) -> String;
    fn to_ris(&self) -> String;
    fn to_csl_json(&self) -> Value;
    fn to_nbib(&self) -> String;
}
Expand description

Trait for exporting PubMed articles to various citation formats

Required Methods§

Source

fn to_bibtex(&self) -> String

Export the article metadata as a BibTeX entry

Source

fn to_ris(&self) -> String

Export the article metadata in RIS format

Source

fn to_csl_json(&self) -> Value

Export the article metadata as CSL-JSON

Source

fn to_nbib(&self) -> String

Export the article metadata in MEDLINE/NBIB format

Implementors§