Struct tmdb_api::tvshow::TVShowBase
source · pub struct TVShowBase {Show 13 fields
pub id: u64,
pub name: String,
pub original_name: String,
pub original_language: String,
pub origin_country: Vec<String>,
pub overview: Option<String>,
pub first_air_date: Option<NaiveDate>,
pub poster_path: Option<String>,
pub backdrop_path: Option<String>,
pub popularity: f64,
pub vote_count: u64,
pub vote_average: f64,
pub adult: bool,
}Fields§
§id: u64§name: String§original_name: String§original_language: String§origin_country: Vec<String>§overview: Option<String>§first_air_date: Option<NaiveDate>§poster_path: Option<String>§backdrop_path: Option<String>§popularity: f64§vote_count: u64§vote_average: f64§adult: boolTrait Implementations§
source§impl Clone for TVShowBase
impl Clone for TVShowBase
source§fn clone(&self) -> TVShowBase
fn clone(&self) -> TVShowBase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TVShowBase
impl Debug for TVShowBase
source§impl<'de> Deserialize<'de> for TVShowBase
impl<'de> Deserialize<'de> for TVShowBase
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
source§impl PartialEq<TVShowBase> for TVShowBase
impl PartialEq<TVShowBase> for TVShowBase
source§fn eq(&self, other: &TVShowBase) -> bool
fn eq(&self, other: &TVShowBase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.