Struct isbn::Isbn13 [] [src]

pub struct Isbn13 { /* fields omitted */ }

13-digit ISBN format.

Methods

impl Isbn13
[src]

Creates a new ISBN13 code from 13 digits.

Examples

use isbn::Isbn13;

let isbn13 = Isbn13::new(9, 7, 8, 3, 1, 6, 1, 4, 8, 4, 1, 0, 0);

Returns true if this is a valid ISBN13 code.

Trait Implementations

impl Debug for Isbn13
[src]

Formats the value using the given formatter.

impl PartialEq for Isbn13
[src]

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

This method tests for !=.

impl Display for Isbn13
[src]

Formats the value using the given formatter. Read more

impl From<Isbn10> for Isbn13
[src]

Performs the conversion.

impl FromStr for Isbn13
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more