flix-tmdb 0.0.7

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

/// A deserialized Episode from the TMDB API
#[derive(Debug, Clone, serde::Deserialize)]
pub struct Episode {
	/// The episode's number
	pub episode_number: u32,
	/// The episode's title
	#[serde(rename = "name")]
	pub title: String,
	/// The episode's overview
	pub overview: String,
	/// The episode's air date
	pub air_date: NaiveDate,
}