Struct mdbook_bib::BibItem
source · pub struct BibItem {
pub citation_key: String,
pub title: String,
pub authors: Vec<Vec<String>>,
pub pub_month: String,
pub pub_year: String,
pub summary: String,
pub url: Option<String>,
pub index: Option<u32>,
}
Expand description
Bibliography item representation. TODO: Complete with more fields when necessary
Fields§
§citation_key: String
The citation key.
title: String
The article’s title.
The article’s author/s.
pub_month: String
Pub month.
pub_year: String
Pub year.
summary: String
Summary/Abstract.
url: Option<String>
The article’s url.
index: Option<u32>
The item’s index for first citation in the book.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BibItem
impl<'de> Deserialize<'de> for BibItem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BibItem> for BibItem
impl PartialEq<BibItem> for BibItem
impl Eq for BibItem
impl StructuralEq for BibItem
impl StructuralPartialEq for BibItem
Auto Trait Implementations§
impl RefUnwindSafe for BibItem
impl Send for BibItem
impl Sync for BibItem
impl Unpin for BibItem
impl UnwindSafe for BibItem
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.