pub struct Movie {Show 14 fields
pub poster_path: Option<String>,
pub adult: bool,
pub overview: String,
pub release_date: NaiveDate,
pub genre_ids: Vec<i64>,
pub id: i64,
pub original_title: String,
pub original_lnguage: Option<String>,
pub title: String,
pub backdrop_path: Option<String>,
pub popularity: f64,
pub vote_count: u64,
pub video: bool,
pub vote_average: f64,
}Expand description
Details from searching for Movie by name
Fields§
§poster_path: Option<String>The path to the poster for this movie
adult: boolWhether this is an adult movie or not
overview: StringA brief overview of this Movie
release_date: NaiveDateWhen this movie was released
genre_ids: Vec<i64>The genre IDs for this movie
id: i64The id for this movie
original_title: StringThe original title for this movie
original_lnguage: Option<String>The original language for this movie
title: StringThe title of this movie
backdrop_path: Option<String>The path to the backdrop for this movie
popularity: f64The popularity of this movie
vote_count: u64The number of votes for this movie
video: boolWhether this is not a movie but another type of longer video
vote_average: f64The average vote for this movie
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Movie
impl<'de> Deserialize<'de> for Movie
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
Auto Trait Implementations§
impl Freeze for Movie
impl RefUnwindSafe for Movie
impl Send for Movie
impl Sync for Movie
impl Unpin for Movie
impl UnwindSafe for Movie
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