Struct mdbook_bib::BibItem[][src]

pub struct BibItem {
    pub citation_key: String,
    pub title: String,
    pub authors: String,
    pub pub_month: String,
    pub pub_year: String,
    pub summary: String,
    pub url: Option<String>,
}

Bibliography item representation. TODO: Complete with more fields when necessary

Fields

citation_key: String

The citation key.

title: String

The article’s title.

authors: String

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.

Implementations

impl BibItem[src]

pub fn new(
    citation_key: &str,
    title: String,
    authors: String,
    pub_month: String,
    pub_year: String,
    summary: String,
    url: Option<String>
) -> BibItem
[src]

Create a new bib item with the provided content.

Trait Implementations

impl Clone for BibItem[src]

impl Debug for BibItem[src]

impl Default for BibItem[src]

impl<'de> Deserialize<'de> for BibItem[src]

impl PartialEq<BibItem> for BibItem[src]

impl Serialize for BibItem[src]

impl StructuralPartialEq for BibItem[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,