Enum isbn::Isbn [] [src]

pub enum Isbn {
    _10(Isbn10),
    _13(Isbn13),
}

An International Standard Book Number, either ISBN10 or ISBN13.

Variants

Methods

impl Isbn
[src]

Returns true if this is a valid ISBN code.

Trait Implementations

impl Debug for Isbn
[src]

Formats the value using the given formatter.

impl PartialEq for Isbn
[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 Isbn
[src]

Formats the value using the given formatter. Read more

impl From<Isbn10> for Isbn
[src]

Performs the conversion.

impl From<Isbn13> for Isbn
[src]

Performs the conversion.

impl FromStr for Isbn
[src]

The associated error which can be returned from parsing.

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