flix-tmdb 0.0.4

Clients and models for fetching data from TMDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use chrono::NaiveDate;

use super::Episode;

/// A deserialized Season from the TMDB API
#[derive(Debug, Clone, serde::Deserialize)]
pub struct Season {
	/// The season's number
	pub season_number: u32,
	/// The season's name
	pub name: String,
	/// The season's overview
	pub overview: String,
	/// The season's air date
	pub air_date: NaiveDate,
	/// The list of episodes in this season
	pub episodes: Vec<Episode>,
}