Struct imdb::models::Movie
[−]
[src]
pub struct Movie { pub id: TitleID, pub title: String, pub year: u16, pub rating: f32, pub votes: u32, }
Struct for Movie
Although IMDb represents all types of title
s as one class, we will keep
movies on their own.
Fields
id: TitleID
ID
title: String
Title
year: u16
Year of release
rating: f32
Rating on IMDb
votes: u32
Number of votes on IMDb