pub struct Entry {
pub key: String,
pub entry_type: EntryType,
pub fields: BTreeMap<String, Chunks>,
}Expand description
A bibliography entry containing chunk fields, which can be parsed into more specific types on demand.
Fields§
§key: StringThe citation key.
entry_type: EntryTypeDenotes the type of bibliography item (e.g., Article).
fields: BTreeMap<String, Chunks>Maps from field names to their associated chunk vectors.
Implementations§
Source§impl Entry
impl Entry
Sourcepub fn get(&self, key: &str) -> Option<ChunksRef<'_>>
pub fn get(&self, key: &str) -> Option<ChunksRef<'_>>
Get the chunk slice of a field.
The field key must be lowercase.
Sourcepub fn get_as<T: Type>(&self, key: &str) -> Result<T, RetrievalError>
pub fn get_as<T: Type>(&self, key: &str) -> Result<T, RetrievalError>
Parse the value of a field into a specific type.
The field key must be lowercase.
Sourcepub fn set(&mut self, key: &str, chunks: Chunks)
pub fn set(&mut self, key: &str, chunks: Chunks)
Set the chunk slice for a field.
The field key is lowercase before insertion.
Sourcepub fn set_as<T: Type>(&mut self, key: &str, value: &T)
pub fn set_as<T: Type>(&mut self, key: &str, value: &T)
Set the value of a field as a specific type.
The field key is lowercase before insertion.
Sourcepub fn parents(&self) -> Result<Vec<String>, TypeError>
pub fn parents(&self) -> Result<Vec<String>, TypeError>
The parents of an entry in a semantic sense (crossref and xref).
Sourcepub fn verify(&self) -> Report
pub fn verify(&self) -> Report
Verify if the entry has the appropriate fields for its EntryType.
Sourcepub fn to_biblatex_string(&self) -> String
pub fn to_biblatex_string(&self) -> String
Serialize this entry into a BibLaTeX string.
Sourcepub fn to_bibtex_string(&self) -> Result<String, TypeError>
pub fn to_bibtex_string(&self) -> Result<String, TypeError>
Serialize this entry into a BibTeX string.
This function can return an error if there is a malformed date field.
Source§impl Entry
impl Entry
Get the author field.
Set the value of the author field.
Sourcepub fn book_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn book_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the booktitle field.
Sourcepub fn set_book_title(&mut self, item: Chunks)
pub fn set_book_title(&mut self, item: Chunks)
Set the value of the booktitle field.
Sourcepub fn chapter(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn chapter(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the chapter field.
Sourcepub fn set_chapter(&mut self, item: Chunks)
pub fn set_chapter(&mut self, item: Chunks)
Set the value of the chapter field.
Sourcepub fn edition(&self) -> Result<PermissiveType<i64>, RetrievalError>
pub fn edition(&self) -> Result<PermissiveType<i64>, RetrievalError>
Get the edition field.
Sourcepub fn set_edition(&mut self, item: PermissiveType<i64>)
pub fn set_edition(&mut self, item: PermissiveType<i64>)
Set the value of the edition field.
Sourcepub fn how_published(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn how_published(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the howpublished field.
Sourcepub fn set_how_published(&mut self, item: Chunks)
pub fn set_how_published(&mut self, item: Chunks)
Set the value of the howpublished field.
Sourcepub fn note(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn note(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the note field.
Sourcepub fn number(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn number(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the number field.
Sourcepub fn set_number(&mut self, item: Chunks)
pub fn set_number(&mut self, item: Chunks)
Set the value of the number field.
Sourcepub fn organization(&self) -> Result<Vec<Chunks>, RetrievalError>
pub fn organization(&self) -> Result<Vec<Chunks>, RetrievalError>
Get the organization field.
Sourcepub fn set_organization(&mut self, item: Vec<Chunks>)
pub fn set_organization(&mut self, item: Vec<Chunks>)
Set the value of the organization field.
Sourcepub fn pages(&self) -> Result<PermissiveType<Vec<Range<u32>>>, RetrievalError>
pub fn pages(&self) -> Result<PermissiveType<Vec<Range<u32>>>, RetrievalError>
Get the pages field.
Sourcepub fn set_pages(&mut self, item: PermissiveType<Vec<Range<u32>>>)
pub fn set_pages(&mut self, item: PermissiveType<Vec<Range<u32>>>)
Set the value of the pages field.
Sourcepub fn set_publisher(&mut self, item: Vec<Chunks>)
pub fn set_publisher(&mut self, item: Vec<Chunks>)
Set the value of the publisher field.
Sourcepub fn series(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn series(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the series field.
Sourcepub fn set_series(&mut self, item: Chunks)
pub fn set_series(&mut self, item: Chunks)
Set the value of the series field.
Sourcepub fn title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the title field.
Sourcepub fn type_(&self) -> Result<String, RetrievalError>
pub fn type_(&self) -> Result<String, RetrievalError>
Get the type field.
Sourcepub fn volume(&self) -> Result<PermissiveType<i64>, RetrievalError>
pub fn volume(&self) -> Result<PermissiveType<i64>, RetrievalError>
Get the volume field.
Sourcepub fn set_volume(&mut self, item: PermissiveType<i64>)
pub fn set_volume(&mut self, item: PermissiveType<i64>)
Set the value of the volume field.
Sourcepub fn address(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn address(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the address field, falling back on location
if address is empty.
Sourcepub fn set_address(&mut self, item: Chunks)
pub fn set_address(&mut self, item: Chunks)
Set the value of the address field.
Sourcepub fn location(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn location(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the location field, falling back on address
if location is empty.
Sourcepub fn set_location(&mut self, item: Chunks)
pub fn set_location(&mut self, item: Chunks)
Set the value of the location field.
Sourcepub fn annotation(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn annotation(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the annotation field, falling back on annote
if annotation is empty.
Sourcepub fn set_annotation(&mut self, item: Chunks)
pub fn set_annotation(&mut self, item: Chunks)
Set the value of the annotation field.
Sourcepub fn eprint_type(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eprint_type(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eprinttype field, falling back on archiveprefix
if eprinttype is empty.
Sourcepub fn set_eprint_type(&mut self, item: Chunks)
pub fn set_eprint_type(&mut self, item: Chunks)
Set the value of the eprinttype field.
Sourcepub fn eprint_class(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eprint_class(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eprintclass field, falling back on primaryclass
if eprintclass is empty.
Sourcepub fn set_eprint_class(&mut self, item: Chunks)
pub fn set_eprint_class(&mut self, item: Chunks)
Set the value of the eprintclass field.
Sourcepub fn journal(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn journal(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the journal field, falling back on journaltitle
if journal is empty.
Sourcepub fn set_journal(&mut self, item: Chunks)
pub fn set_journal(&mut self, item: Chunks)
Set the value of the journal field.
Sourcepub fn journal_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn journal_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the journaltitle field, falling back on journal
if journaltitle is empty.
Sourcepub fn set_journal_title(&mut self, item: Chunks)
pub fn set_journal_title(&mut self, item: Chunks)
Set the value of the journaltitle field.
Sourcepub fn sort_key(&self) -> Result<String, RetrievalError>
pub fn sort_key(&self) -> Result<String, RetrievalError>
Get the key field, falling back on sortkey
if key is empty.
Sourcepub fn set_sort_key(&mut self, item: String)
pub fn set_sort_key(&mut self, item: String)
Set the value of the key field.
Sourcepub fn file(&self) -> Result<String, RetrievalError>
pub fn file(&self) -> Result<String, RetrievalError>
Get the file field, falling back on pdf
if file is empty.
Sourcepub fn school(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn school(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the school field, falling back on institution
if school is empty.
Sourcepub fn set_school(&mut self, item: Chunks)
pub fn set_school(&mut self, item: Chunks)
Set the value of the school field.
Sourcepub fn institution(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn institution(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the institution field, falling back on school
if institution is empty.
Sourcepub fn set_institution(&mut self, item: Chunks)
pub fn set_institution(&mut self, item: Chunks)
Set the value of the institution field.
Sourcepub fn date(&self) -> Result<PermissiveType<Date>, RetrievalError>
pub fn date(&self) -> Result<PermissiveType<Date>, RetrievalError>
Get the date field, falling back on the
year, month, and
day fields if it is not present.
Sourcepub fn set_date(&mut self, item: PermissiveType<Date>)
pub fn set_date(&mut self, item: PermissiveType<Date>)
Set the value of the date field, removing the
year, month, and
day fields if present.
Sourcepub fn event_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
pub fn event_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
Get the eventdate field, falling back on the
eventyear, eventmonth, and
eventday fields if it is not present.
Sourcepub fn set_event_date(&mut self, item: PermissiveType<Date>)
pub fn set_event_date(&mut self, item: PermissiveType<Date>)
Set the value of the eventdate field, removing the
eventyear, eventmonth, and
eventday fields if present.
Sourcepub fn orig_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
pub fn orig_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
Get the origdate field, falling back on the
origyear, origmonth, and
origday fields if it is not present.
Sourcepub fn set_orig_date(&mut self, item: PermissiveType<Date>)
pub fn set_orig_date(&mut self, item: PermissiveType<Date>)
Set the value of the origdate field, removing the
origyear, origmonth, and
origday fields if present.
Sourcepub fn url_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
pub fn url_date(&self) -> Result<PermissiveType<Date>, RetrievalError>
Get the urldate field, falling back on the
urlyear, urlmonth, and
urlday fields if it is not present.
Sourcepub fn set_url_date(&mut self, item: PermissiveType<Date>)
pub fn set_url_date(&mut self, item: PermissiveType<Date>)
Set the value of the urldate field, removing the
urlyear, urlmonth, and
urlday fields if present.
Sourcepub fn editors(&self) -> Result<Vec<(Vec<Person>, EditorType)>, TypeError>
pub fn editors(&self) -> Result<Vec<(Vec<Person>, EditorType)>, TypeError>
Get the editor and editora through editorc fields and their
respective editortype annotation fields, returning a vector with zero
to four entries, one for each editorial role.
The default EditorType::Editor is assumed if the type field is empty.
Sourcepub fn abstract_(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn abstract_(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the abstract field.
Sourcepub fn set_abstract_(&mut self, item: Chunks)
pub fn set_abstract_(&mut self, item: Chunks)
Set the value of the abstract field.
Sourcepub fn addendum(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn addendum(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the addendum field.
Sourcepub fn set_addendum(&mut self, item: Chunks)
pub fn set_addendum(&mut self, item: Chunks)
Set the value of the addendum field.
Sourcepub fn set_afterword(&mut self, item: Vec<Person>)
pub fn set_afterword(&mut self, item: Vec<Person>)
Set the value of the afterword field.
Sourcepub fn set_annotator(&mut self, item: Vec<Person>)
pub fn set_annotator(&mut self, item: Vec<Person>)
Set the value of the annotator field.
Get the authortype field.
Set the value of the authortype field.
Get the bookauthor field.
Set the value of the bookauthor field.
Sourcepub fn book_pagination(&self) -> Result<Pagination, RetrievalError>
pub fn book_pagination(&self) -> Result<Pagination, RetrievalError>
Get the bookpagination field.
Sourcepub fn set_book_pagination(&mut self, item: Pagination)
pub fn set_book_pagination(&mut self, item: Pagination)
Set the value of the bookpagination field.
Sourcepub fn book_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn book_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the booksubtitle field.
Sourcepub fn set_book_subtitle(&mut self, item: Chunks)
pub fn set_book_subtitle(&mut self, item: Chunks)
Set the value of the booksubtitle field.
Sourcepub fn book_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn book_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the booktitleaddon field.
Sourcepub fn set_book_title_addon(&mut self, item: Chunks)
pub fn set_book_title_addon(&mut self, item: Chunks)
Set the value of the booktitleaddon field.
Sourcepub fn commentator(&self) -> Result<Vec<Person>, RetrievalError>
pub fn commentator(&self) -> Result<Vec<Person>, RetrievalError>
Get the commentator field.
Sourcepub fn set_commentator(&mut self, item: Vec<Person>)
pub fn set_commentator(&mut self, item: Vec<Person>)
Set the value of the commentator field.
Sourcepub fn doi(&self) -> Result<String, RetrievalError>
pub fn doi(&self) -> Result<String, RetrievalError>
Get the doi field.
Sourcepub fn eid(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eid(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eid field.
Sourcepub fn entry_subtype(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn entry_subtype(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the entrysubtype field.
Sourcepub fn set_entry_subtype(&mut self, item: Chunks)
pub fn set_entry_subtype(&mut self, item: Chunks)
Set the value of the entrysubtype field.
Sourcepub fn eprint(&self) -> Result<String, RetrievalError>
pub fn eprint(&self) -> Result<String, RetrievalError>
Get the eprint field.
Sourcepub fn set_eprint(&mut self, item: String)
pub fn set_eprint(&mut self, item: String)
Set the value of the eprint field.
Sourcepub fn eventtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eventtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eventtitle field.
Sourcepub fn set_eventtitle(&mut self, item: Chunks)
pub fn set_eventtitle(&mut self, item: Chunks)
Set the value of the eventtitle field.
Sourcepub fn eventtitle_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eventtitle_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eventtitleaddon field.
Sourcepub fn set_eventtitle_addon(&mut self, item: Chunks)
pub fn set_eventtitle_addon(&mut self, item: Chunks)
Set the value of the eventtitleaddon field.
Sourcepub fn set_foreword(&mut self, item: Vec<Person>)
pub fn set_foreword(&mut self, item: Vec<Person>)
Set the value of the foreword field.
Sourcepub fn set_holder(&mut self, item: Vec<Person>)
pub fn set_holder(&mut self, item: Vec<Person>)
Set the value of the holder field.
Sourcepub fn index_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn index_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the indextitle field.
Sourcepub fn set_index_title(&mut self, item: Chunks)
pub fn set_index_title(&mut self, item: Chunks)
Set the value of the indextitle field.
Sourcepub fn introduction(&self) -> Result<Vec<Person>, RetrievalError>
pub fn introduction(&self) -> Result<Vec<Person>, RetrievalError>
Get the introduction field.
Sourcepub fn set_introduction(&mut self, item: Vec<Person>)
pub fn set_introduction(&mut self, item: Vec<Person>)
Set the value of the introduction field.
Sourcepub fn isan(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn isan(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the isan field.
Sourcepub fn isbn(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn isbn(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the isbn field.
Sourcepub fn ismn(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn ismn(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the ismn field.
Sourcepub fn isrn(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn isrn(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the isrn field.
Sourcepub fn issn(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn issn(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the issn field.
Sourcepub fn issue(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn issue(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the issue field.
Sourcepub fn issue_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn issue_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the issuesubtitle field.
Sourcepub fn set_issue_subtitle(&mut self, item: Chunks)
pub fn set_issue_subtitle(&mut self, item: Chunks)
Set the value of the issuesubtitle field.
Sourcepub fn issue_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn issue_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the issuetitle field.
Sourcepub fn set_issue_title(&mut self, item: Chunks)
pub fn set_issue_title(&mut self, item: Chunks)
Set the value of the issuetitle field.
Sourcepub fn issue_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn issue_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the issuetitleaddon field.
Sourcepub fn set_issue_title_addon(&mut self, item: Chunks)
pub fn set_issue_title_addon(&mut self, item: Chunks)
Set the value of the issuetitleaddon field.
Sourcepub fn iswc(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn iswc(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the iswc field.
Sourcepub fn journal_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn journal_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the journalsubtitle field.
Sourcepub fn set_journal_subtitle(&mut self, item: Chunks)
pub fn set_journal_subtitle(&mut self, item: Chunks)
Set the value of the journalsubtitle field.
Sourcepub fn journal_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn journal_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the journaltitleaddon field.
Sourcepub fn set_journal_title_addon(&mut self, item: Chunks)
pub fn set_journal_title_addon(&mut self, item: Chunks)
Set the value of the journaltitleaddon field.
Sourcepub fn keywords(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn keywords(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the keywords field.
Sourcepub fn set_keywords(&mut self, item: Chunks)
pub fn set_keywords(&mut self, item: Chunks)
Set the value of the keywords field.
Sourcepub fn label(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn label(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the label field.
Sourcepub fn langid(&self) -> Result<PermissiveType<Language>, RetrievalError>
pub fn langid(&self) -> Result<PermissiveType<Language>, RetrievalError>
Get the langid field.
Sourcepub fn set_langid(&mut self, item: PermissiveType<Language>)
pub fn set_langid(&mut self, item: PermissiveType<Language>)
Set the value of the langid field.
Sourcepub fn language(&self) -> Result<Vec<PermissiveType<Language>>, RetrievalError>
pub fn language(&self) -> Result<Vec<PermissiveType<Language>>, RetrievalError>
Get the language field.
Sourcepub fn set_language(&mut self, item: Vec<PermissiveType<Language>>)
pub fn set_language(&mut self, item: Vec<PermissiveType<Language>>)
Set the value of the language field.
Sourcepub fn library(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn library(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the library field.
Sourcepub fn set_library(&mut self, item: Chunks)
pub fn set_library(&mut self, item: Chunks)
Set the value of the library field.
Sourcepub fn main_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn main_subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the mainsubtitle field.
Sourcepub fn set_main_subtitle(&mut self, item: Chunks)
pub fn set_main_subtitle(&mut self, item: Chunks)
Set the value of the mainsubtitle field.
Sourcepub fn main_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn main_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the maintitle field.
Sourcepub fn set_main_title(&mut self, item: Chunks)
pub fn set_main_title(&mut self, item: Chunks)
Set the value of the maintitle field.
Sourcepub fn main_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn main_title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the maintitleaddon field.
Sourcepub fn set_main_title_addon(&mut self, item: Chunks)
pub fn set_main_title_addon(&mut self, item: Chunks)
Set the value of the maintitleaddon field.
Sourcepub fn name_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn name_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the nameaddon field.
Sourcepub fn set_name_addon(&mut self, item: Chunks)
pub fn set_name_addon(&mut self, item: Chunks)
Set the value of the nameaddon field.
Sourcepub fn options(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn options(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the options field.
Sourcepub fn set_options(&mut self, item: Chunks)
pub fn set_options(&mut self, item: Chunks)
Set the value of the options field.
Sourcepub fn orig_language(&self) -> Result<Vec<String>, RetrievalError>
pub fn orig_language(&self) -> Result<Vec<String>, RetrievalError>
Get the origlanguage field.
Sourcepub fn set_orig_language(&mut self, item: Vec<String>)
pub fn set_orig_language(&mut self, item: Vec<String>)
Set the value of the origlanguage field.
Sourcepub fn orig_location(&self) -> Result<Vec<Chunks>, RetrievalError>
pub fn orig_location(&self) -> Result<Vec<Chunks>, RetrievalError>
Get the origlocation field.
Sourcepub fn set_orig_location(&mut self, item: Vec<Chunks>)
pub fn set_orig_location(&mut self, item: Vec<Chunks>)
Set the value of the origlocation field.
Sourcepub fn page_total(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn page_total(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the pagetotal field.
Sourcepub fn set_page_total(&mut self, item: Chunks)
pub fn set_page_total(&mut self, item: Chunks)
Set the value of the pagetotal field.
Sourcepub fn pagination(&self) -> Result<Pagination, RetrievalError>
pub fn pagination(&self) -> Result<Pagination, RetrievalError>
Get the pagination field.
Sourcepub fn set_pagination(&mut self, item: Pagination)
pub fn set_pagination(&mut self, item: Pagination)
Set the value of the pagination field.
Sourcepub fn part(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn part(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the part field.
Sourcepub fn pubstate(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn pubstate(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the pubstate field.
Sourcepub fn set_pubstate(&mut self, item: Chunks)
pub fn set_pubstate(&mut self, item: Chunks)
Set the value of the pubstate field.
Sourcepub fn reprint_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn reprint_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the reprinttitle field.
Sourcepub fn set_reprint_title(&mut self, item: Chunks)
pub fn set_reprint_title(&mut self, item: Chunks)
Set the value of the reprinttitle field.
Get the shortauthor field.
Set the value of the shortauthor field.
Sourcepub fn short_editor(&self) -> Result<Vec<Person>, RetrievalError>
pub fn short_editor(&self) -> Result<Vec<Person>, RetrievalError>
Get the shorteditor field.
Sourcepub fn set_short_editor(&mut self, item: Vec<Person>)
pub fn set_short_editor(&mut self, item: Vec<Person>)
Set the value of the shorteditor field.
Sourcepub fn shorthand(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn shorthand(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the shorthand field.
Sourcepub fn set_shorthand(&mut self, item: Chunks)
pub fn set_shorthand(&mut self, item: Chunks)
Set the value of the shorthand field.
Sourcepub fn shorthand_intro(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn shorthand_intro(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the shorthandintro field.
Sourcepub fn set_shorthand_intro(&mut self, item: Chunks)
pub fn set_shorthand_intro(&mut self, item: Chunks)
Set the value of the shorthandintro field.
Sourcepub fn short_journal(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn short_journal(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the shortjournal field.
Sourcepub fn set_short_journal(&mut self, item: Chunks)
pub fn set_short_journal(&mut self, item: Chunks)
Set the value of the shortjournal field.
Sourcepub fn short_series(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn short_series(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the shortseries field.
Sourcepub fn set_short_series(&mut self, item: Chunks)
pub fn set_short_series(&mut self, item: Chunks)
Set the value of the shortseries field.
Sourcepub fn short_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn short_title(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the shorttitle field.
Sourcepub fn set_short_title(&mut self, item: Chunks)
pub fn set_short_title(&mut self, item: Chunks)
Set the value of the shorttitle field.
Sourcepub fn subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn subtitle(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the subtitle field.
Sourcepub fn set_subtitle(&mut self, item: Chunks)
pub fn set_subtitle(&mut self, item: Chunks)
Set the value of the subtitle field.
Sourcepub fn title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn title_addon(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the titleaddon field.
Sourcepub fn set_title_addon(&mut self, item: Chunks)
pub fn set_title_addon(&mut self, item: Chunks)
Set the value of the titleaddon field.
Sourcepub fn translator(&self) -> Result<Vec<Person>, RetrievalError>
pub fn translator(&self) -> Result<Vec<Person>, RetrievalError>
Get the translator field.
Sourcepub fn set_translator(&mut self, item: Vec<Person>)
pub fn set_translator(&mut self, item: Vec<Person>)
Set the value of the translator field.
Sourcepub fn url(&self) -> Result<String, RetrievalError>
pub fn url(&self) -> Result<String, RetrievalError>
Get the url field.
Sourcepub fn venue(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn venue(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the venue field.
Sourcepub fn version(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn version(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the version field.
Sourcepub fn set_version(&mut self, item: Chunks)
pub fn set_version(&mut self, item: Chunks)
Set the value of the version field.
Sourcepub fn volumes(&self) -> Result<i64, RetrievalError>
pub fn volumes(&self) -> Result<i64, RetrievalError>
Get the volumes field.
Sourcepub fn set_volumes(&mut self, item: i64)
pub fn set_volumes(&mut self, item: i64)
Set the value of the volumes field.
Sourcepub fn gender(&self) -> Result<Gender, RetrievalError>
pub fn gender(&self) -> Result<Gender, RetrievalError>
Get the gender field.
Sourcepub fn set_gender(&mut self, item: Gender)
pub fn set_gender(&mut self, item: Gender)
Set the value of the gender field.