Struct nom_bibtex::BibliographyEntry
[−]
[src]
pub struct BibliographyEntry<'a> { pub entry_type: &'a str, pub citation_key: &'a str, // some fields omitted }
An entry of a bibtex bibliography.
Fields
entry_type: &'a str
The type of the bibtex entry.
Example: misc, article, manual, ...
citation_key: &'a str
The citation key used to reference the bibliography in the LaTeX file.
Methods
impl<'a> BibliographyEntry<'a>
[src]
fn new(
entry_type: &'a str,
citation_key: &'a str,
tags: Vec<(&'a str, &'a str)>
) -> Self
entry_type: &'a str,
citation_key: &'a str,
tags: Vec<(&'a str, &'a str)>
) -> Self
Get the tags of a bibliography entry.
Tags are the characteristics of the bibliography such as author, title, year, ...
Trait Implementations
impl<'a> Debug for BibliographyEntry<'a>
[src]
impl<'a> PartialEq for BibliographyEntry<'a>
[src]
fn eq(&self, __arg_0: &BibliographyEntry<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BibliographyEntry<'a>) -> bool
This method tests for !=
.