[][src]Struct tmdb_cli::libs::models::Movie

pub struct Movie {
    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,
}

Details from searching for Movie by name

Fields

poster_path: Option<String>

The path to the poster for this movie

adult: bool

Whether this is an adult movie or not

overview: String

A brief overview of this Movie

release_date: NaiveDate

When this movie was released

genre_ids: Vec<i64>

The genre IDs for this movie

id: i64

The id for this movie

original_title: String

The original title for this movie

original_lnguage: Option<String>

The original language for this movie

title: String

The title of this movie

backdrop_path: Option<String>

The path to the backdrop for this movie

popularity: f64

The popularity of this movie

vote_count: u64

The number of votes for this movie

video: bool

Whether this is not a movie but another type of longer video

vote_average: f64

The average vote for this movie

Trait Implementations

impl Debug for Movie[src]

impl<'de> Deserialize<'de> for Movie[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.