tmdb_api/watch_provider/
mod.rs

1pub mod list;
2
3#[derive(Clone, Debug, Deserialize, Serialize)]
4pub struct WatchProvider {
5    pub provider_id: u64,
6    pub provider_name: String,
7    pub display_priority: u64,
8    pub logo_path: String,
9}
10
11#[derive(Clone, Debug, Deserialize, Serialize)]
12pub struct LocatedWatchProvider {
13    pub link: String,
14    #[serde(default)]
15    pub flatrate: Vec<WatchProvider>,
16    #[serde(default)]
17    pub rent: Vec<WatchProvider>,
18    #[serde(default)]
19    pub buy: Vec<WatchProvider>,
20}