pub struct TV { /* private fields */ }
Implementations§
Source§impl TV
impl TV
pub fn id(&self) -> u32
pub fn created_by(&self) -> &<Vec<TVCreator> as Deref>::Target ⓘ
pub fn episode_run_time(&self) -> &<Vec<u16> as Deref>::Target ⓘ
pub fn first_air_date(&self) -> Date
pub fn genres(&self) -> &<Vec<Genre> as Deref>::Target ⓘ
pub fn homepage(&self) -> Option<&str>
pub fn in_production(&self) -> bool
pub fn languages(&self) -> &<Vec<LanguageCode> as Deref>::Target ⓘ
pub fn last_air_date(&self) -> Date
pub fn last_episode_to_air(&self) -> Option<&LastEpisode>
pub fn name(&self) -> &<CompactString as Deref>::Target
pub fn networks(&self) -> &<Vec<Network> as Deref>::Target ⓘ
pub fn number_of_episodes(&self) -> u32
pub fn number_of_seasons(&self) -> u32
pub fn origin_country(&self) -> &<Vec<CountryCode> as Deref>::Target ⓘ
pub fn original_language(&self) -> LanguageCode
pub fn original_name(&self) -> &<CompactString as Deref>::Target
pub fn overview(&self) -> &<String as Deref>::Target
pub fn popularity(&self) -> f64
pub fn poster_path(&self) -> Option<&str>
pub fn production_companies(&self) -> &<Vec<ProductionCompany> as Deref>::Target ⓘ
pub fn seasons(&self) -> &<Vec<Season> as Deref>::Target ⓘ
pub fn status(&self) -> &<CompactString as Deref>::Target
pub fn type(&self) -> &<CompactString as Deref>::Target
pub fn vote_average(&self) -> f64
pub fn vote_count(&self) -> u64
pub fn videos(&self) -> Option<&Results<Video>>
pub fn credits(&self) -> Option<&TVCredits>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TV
impl<'de> Deserialize<'de> for TV
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 TV
Auto Trait Implementations§
impl Freeze for TV
impl RefUnwindSafe for TV
impl Send for TV
impl Sync for TV
impl Unpin for TV
impl UnwindSafe for TV
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