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: String
The citation key.
entry_type: EntryType
Denotes 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 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 eprint_class(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn eprint_class(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the eprintclass
field.
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 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 language(&self) -> Result<String, RetrievalError>
pub fn language(&self) -> Result<String, RetrievalError>
Get the language
field.
sourcepub fn set_language(&mut self, item: String)
pub fn set_language(&mut self, item: String)
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<String, RetrievalError>
pub fn orig_language(&self) -> Result<String, RetrievalError>
Get the origlanguage
field.
sourcepub fn set_orig_language(&mut self, item: String)
pub fn set_orig_language(&mut self, item: String)
Set the value of the origlanguage
field.
sourcepub fn orig_location(&self) -> Result<ChunksRef<'_>, RetrievalError>
pub fn orig_location(&self) -> Result<ChunksRef<'_>, RetrievalError>
Get the origlocation
field.
sourcepub fn set_orig_location(&mut self, item: Chunks)
pub fn set_orig_location(&mut self, item: 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.