tmdb_cli/libs/models/production.rs
1use serde::{Serialize, Deserialize};
2
3/// A Production company for a movie or TV show
4#[derive(Deserialize, Serialize, Debug)]
5pub struct ProductionCompany {
6 /// The name of this production company
7 pub name: String,
8 /// The id for this production company
9 pub id: i64,
10 /// The path to the logo for this company
11 pub logo_path: Option<String>,
12 /// The country of origin for this production company
13 pub origin_country: String,
14}
15
16/// A country where production of a movie or TV show took place at
17#[derive(Deserialize, Serialize, Debug)]
18pub struct ProductionCountry {
19 /// The ISO 3166-1 code for the name of this country
20 pub iso_3166_1: String,
21 /// The name of this country
22 pub name: String,
23}
24
25