Struct imdb_index::Title [] [src]

pub struct Title {
    pub id: String,
    pub kind: TitleKind,
    pub title: String,
    pub original_title: String,
    pub is_adult: bool,
    pub start_year: Option<u32>,
    pub end_year: Option<u32>,
    pub runtime_minutes: Option<u32>,
    pub genres: String,
}

An IMDb title record.

This is the primary type of an IMDb media entry. This record defines the identifier of an IMDb title, which serves as a foreign key in other data files (such as alternate names, episodes and ratings).

Fields

An IMDb identifier.

Generally, this is a fixed width string beginning with the characters tt.

The specific type of a title, e.g., movie, TV show, episode, etc.

The primary name of this title.

The "original" name of this title.

Whether this title is classified as "adult" material or not.

The start year of this title.

Generally, things like movies or TV episodes have a start year to indicate their release year and no end year. TV shows also have a start year. TV shows that are still airing lack an end time, but TV shows that have stopped will typically have an end year indicating when it stopped airing.

Note that not all titles have a start year.

The end year of this title.

This is typically used to indicate the ending year of a TV show that has stopped production.

The runtime, in minutes, of this title.

A comma separated string of genres.

Trait Implementations

impl Clone for Title
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Title
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Title

impl Sync for Title