pub struct Item {
pub id: String,
pub item_type: ItemType,
pub standard: BTreeMap<StandardVariable, String>,
pub number: BTreeMap<NumberVariable, String>,
pub date: BTreeMap<DateVariable, Date>,
pub name: BTreeMap<NameVariable, Vec<Name>>,
}Expand description
A single bibliographic item; the unit a CSL style formats.
Variables are split by category into deterministic BTreeMaps. Build one
from a parsed BibTeX record with
item_from_bib_entry.
Fields§
§id: String§item_type: ItemType§standard: BTreeMap<StandardVariable, String>§number: BTreeMap<NumberVariable, String>§date: BTreeMap<DateVariable, Date>§name: BTreeMap<NameVariable, Vec<Name>>Implementations§
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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