pub struct TVShow {Show 20 fields
pub inner: TVShowBase,
pub created_by: Vec<PersonShort>,
pub episode_run_time: Vec<u64>,
pub genres: Vec<Genre>,
pub homepage: String,
pub in_production: bool,
pub languages: Vec<String>,
pub last_air_date: Option<NaiveDate>,
pub last_episode_to_air: Option<EpisodeShort>,
pub next_episode_to_air: Option<EpisodeShort>,
pub networks: Vec<CompanyShort>,
pub number_of_episodes: Option<u64>,
pub number_of_seasons: u64,
pub production_companies: Vec<CompanyShort>,
pub production_countries: Vec<Country>,
pub seasons: Vec<SeasonShort>,
pub spoken_languages: Vec<Language>,
pub status: String,
pub tagline: Option<String>,
pub ttype: String,
}Fields§
§inner: TVShowBase§created_by: Vec<PersonShort>§episode_run_time: Vec<u64>§genres: Vec<Genre>§homepage: String§in_production: bool§languages: Vec<String>§last_air_date: Option<NaiveDate>§last_episode_to_air: Option<EpisodeShort>§next_episode_to_air: Option<EpisodeShort>§networks: Vec<CompanyShort>§number_of_episodes: Option<u64>Unlikely to be None but found with 81040.
In this case, could be computed by summing the episodes_count of the seasons field.
number_of_seasons: u64§production_companies: Vec<CompanyShort>§production_countries: Vec<Country>§seasons: Vec<SeasonShort>§spoken_languages: Vec<Language>§status: String§tagline: Option<String>§ttype: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for TVShow
impl<'de> Deserialize<'de> for TVShow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TVShow
Auto Trait Implementations§
impl Freeze for TVShow
impl RefUnwindSafe for TVShow
impl Send for TVShow
impl Sync for TVShow
impl Unpin for TVShow
impl UnwindSafe for TVShow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more