Struct imdb::IMDb
[−]
[src]
pub struct IMDb { /* fields omitted */ }
Client to retrieve information from IMDb.
Methods
impl IMDb
[src]
fn new() -> Self
[src]
Creates a new IMDb Client instance.
fn accept_language(&mut self, lang: Language) -> &mut Self
[src]
Sets language for HTTP requests.
fn user_agent(&mut self, ua: UserAgent) -> &mut Self
[src]
Sets User-Agent for HTTP requests.
fn top250_movies(&self) -> Result<Vec<Movie>, Error>
[src]
Get Top 250 Movies.