Struct tmdb_async::Movie
source · pub struct Movie { /* private fields */ }Implementations§
source§impl Movie
impl Movie
pub fn id(&self) -> u32
pub fn imdb_id(&self) -> u32
pub fn title(&self) -> &<CompactString as Deref>::Target
pub fn tagline(&self) -> &<String as Deref>::Target
pub fn original_title(&self) -> &<CompactString as Deref>::Target
pub fn original_language(&self) -> LanguageCode
pub fn overview(&self) -> Option<&str>
pub fn release_date(&self) -> Date
pub fn runtime(&self) -> u32
pub fn homepage(&self) -> Option<&str>
pub fn genres(&self) -> &<Vec<Genre> as Deref>::Target
pub fn poster_path(&self) -> Option<&str>
pub fn backdrop_path(&self) -> Option<&str>
pub fn popularity(&self) -> f64
pub fn budget(&self) -> u64
pub fn adult(&self) -> bool
pub fn videos(&self) -> Option<&Results<Video>>
pub fn credits(&self) -> Option<&Credits>
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
source§impl PartialEq<Movie> for Movie
impl PartialEq<Movie> for Movie
impl StructuralPartialEq for Movie
Auto Trait Implementations§
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