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
impl StructuralPartialEq for Movie
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more