[][src]Struct letterboxd::Film

pub struct Film {
    pub id: String,
    pub name: String,
    pub original_name: Option<String>,
    pub alternative_names: Vec<String>,
    pub release_year: u16,
    pub tagline: String,
    pub description: String,
    pub run_time: u16,
    pub poster: Image,
    pub backdrop: Image,
    pub backdrop_focal_point: f32,
    pub trailer: FilmTrailer,
    pub genres: Vec<Genre>,
    pub contributions: Vec<FilmContributions>,
    pub links: Vec<Link>,
}

Fields

id: String

The LID of the film.

name: String

The title of the film.

original_name: Option<String>

The original title of the film, if it was first released with a non-English title.

alternative_names: Vec<String>

The other names by which the film is known (including alternative titles and/or foreign translations).

release_year: u16

The year in which the film was first released.

tagline: String

The tagline for the film.

description: String

A synopsis of the film.

run_time: u16

The film’s duration (in minutes).

poster: Image

The film’s poster image (2:3 ratio in multiple sizes).

backdrop: Image

The film’s backdrop image (16:9 ratio in multiple sizes).

backdrop_focal_point: f32

The backdrop’s vertical focal point, expressed as a proportion of the image’s height, using values between 0.0 and 1.0. Use when cropping the image into a shorter space, such as in the page for a film on the Letterboxd site.

trailer: FilmTrailer

The film’s trailer.

genres: Vec<Genre>

The film’s genres.

contributions: Vec<FilmContributions>

The film’s contributors (director, cast and crew) grouped by discipline.

links: Vec<Link>

A list of relevant URLs to this entity, on Letterboxd and external sites.

Trait Implementations

impl Clone for Film[src]

impl Debug for Film[src]

impl<'de> Deserialize<'de> for Film[src]

Auto Trait Implementations

impl RefUnwindSafe for Film

impl Send for Film

impl Sync for Film

impl Unpin for Film

impl UnwindSafe for Film

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,