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
id: String
An IMDb identifier.
Generally, this is a fixed width string beginning with the characters
tt
.
kind: TitleKind
The specific type of a title, e.g., movie, TV show, episode, etc.
title: String
The primary name of this title.
original_title: String
The "original" name of this title.
is_adult: bool
Whether this title is classified as "adult" material or not.
start_year: Option<u32>
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.
end_year: Option<u32>
The end year of this title.
This is typically used to indicate the ending year of a TV show that has stopped production.
runtime_minutes: Option<u32>
The runtime, in minutes, of this title.
genres: String
A comma separated string of genres.
Trait Implementations
impl Clone for Title
[src]
fn clone(&self) -> Title
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more