Struct libads::BibCode [] [src]

pub struct BibCode<'a> {
    pub bibcode: &'a str,
}

Fields

Methods

impl<'a> BibCode<'a>
[src]

Create BibCode from &str

Returns a Result<Self, ()> as this can fail. In future I may also implement std::convert::TryFrom, currently a nightly only feature.

Examples

extern crate libads;
libads::BibCode::new("2015MNRAS.452.2597X");

[src]

Trait Implementations

impl<'a> Debug for BibCode<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for BibCode<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.