[][src]Trait tmdb_client::apis::DiscoverApi

pub trait DiscoverApi {
    fn get_discover_movie_paginated(
        &self,
        sort_by: Option<&str>,
        certification_country: Option<&str>,
        certification: Option<&str>,
        certification_lte: Option<&str>,
        include_adult: Option<bool>,
        include_video: Option<bool>,
        language: Option<&str>,
        page: Option<i32>,
        primary_release_year: Option<i32>,
        primary_release_date_gte: Option<String>,
        primary_release_date_lte: Option<String>,
        release_date_gte: Option<String>,
        release_date_lte: Option<String>,
        vote_count_gte: Option<i32>,
        vote_count_lte: Option<i32>,
        vote_average_gte: Option<f32>,
        vote_average_lte: Option<f32>,
        with_cast: Option<&str>,
        with_crew: Option<&str>,
        with_companies: Option<&str>,
        with_genres: Option<&str>,
        with_keywords: Option<&str>,
        with_people: Option<&str>,
        year: Option<i32>,
        without_genres: Option<&str>,
        with_runtime_gte: Option<i32>,
        with_runtime_lte: Option<i32>,
        with_release_type: Option<i32>,
        with_original_language: Option<&str>,
        without_keywords: Option<&str>,
        region: Option<&str>
    ) -> Result<MoviePaginated, Error>;
fn get_discover_tv_paginated(
        &self,
        sort_by: Option<&str>,
        air_date_gte: Option<String>,
        air_date_lte: Option<String>,
        first_air_date_gte: Option<String>,
        first_air_date_lte: Option<String>,
        first_air_date_year: Option<i32>,
        language: Option<&str>,
        page: Option<i32>,
        timezone: Option<&str>,
        vote_average_gte: Option<f32>,
        vote_count_gte: Option<i32>,
        with_genres: Option<&str>,
        with_networks: Option<&str>,
        without_genres: Option<&str>,
        with_runtime_gte: Option<i32>,
        with_runtime_lte: Option<i32>,
        include_null_first_air_dates: Option<bool>,
        with_original_language: Option<&str>,
        without_keywords: Option<&str>
    ) -> Result<TvPaginated, Error>; }

Required methods

fn get_discover_movie_paginated(
    &self,
    sort_by: Option<&str>,
    certification_country: Option<&str>,
    certification: Option<&str>,
    certification_lte: Option<&str>,
    include_adult: Option<bool>,
    include_video: Option<bool>,
    language: Option<&str>,
    page: Option<i32>,
    primary_release_year: Option<i32>,
    primary_release_date_gte: Option<String>,
    primary_release_date_lte: Option<String>,
    release_date_gte: Option<String>,
    release_date_lte: Option<String>,
    vote_count_gte: Option<i32>,
    vote_count_lte: Option<i32>,
    vote_average_gte: Option<f32>,
    vote_average_lte: Option<f32>,
    with_cast: Option<&str>,
    with_crew: Option<&str>,
    with_companies: Option<&str>,
    with_genres: Option<&str>,
    with_keywords: Option<&str>,
    with_people: Option<&str>,
    year: Option<i32>,
    without_genres: Option<&str>,
    with_runtime_gte: Option<i32>,
    with_runtime_lte: Option<i32>,
    with_release_type: Option<i32>,
    with_original_language: Option<&str>,
    without_keywords: Option<&str>,
    region: Option<&str>
) -> Result<MoviePaginated, Error>

fn get_discover_tv_paginated(
    &self,
    sort_by: Option<&str>,
    air_date_gte: Option<String>,
    air_date_lte: Option<String>,
    first_air_date_gte: Option<String>,
    first_air_date_lte: Option<String>,
    first_air_date_year: Option<i32>,
    language: Option<&str>,
    page: Option<i32>,
    timezone: Option<&str>,
    vote_average_gte: Option<f32>,
    vote_count_gte: Option<i32>,
    with_genres: Option<&str>,
    with_networks: Option<&str>,
    without_genres: Option<&str>,
    with_runtime_gte: Option<i32>,
    with_runtime_lte: Option<i32>,
    include_null_first_air_dates: Option<bool>,
    with_original_language: Option<&str>,
    without_keywords: Option<&str>
) -> Result<TvPaginated, Error>

Loading content...

Implementors

impl DiscoverApi for DiscoverApiClient[src]

Loading content...