Enum imdb_index::TitleKind[][src]

pub enum TitleKind {
    Movie,
    Short,
    TVEpisode,
    TVMiniSeries,
    TVMovie,
    TVSeries,
    TVShort,
    TVSpecial,
    Video,
    VideoGame,
}

The kind of a title. These form a partioning of all titles, where every title has exactly one kind.

This type has a FromStr implementation that permits parsing a string containing a title kind into this type. Note that parsing a title kind recognizes all forms present in the IMDb data, and also addition common sense forms. For example, tvshow and tvSeries are both accepted as terms for the TVSeries variant.

Variants

Methods

impl TitleKind
[src]

Return a string representation of this title kind.

This string representation is intended to be the same string representation used in the IMDb data files.

Returns true if and only if this kind represents a TV series.

Trait Implementations

impl Clone for TitleKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TitleKind
[src]

impl Debug for TitleKind
[src]

Formats the value using the given formatter. Read more

impl Eq for TitleKind
[src]

impl Hash for TitleKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

Formats the value using the given formatter. Read more

impl Ord for TitleKind
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for TitleKind
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl FromStr for TitleKind
[src]

The associated error which can be returned from parsing.

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

Auto Trait Implementations

impl Send for TitleKind

impl Sync for TitleKind