Struct letterboxd::FilmsRequest [] [src]

pub struct FilmsRequest {
    pub cursor: Option<Cursor>,
    pub per_page: Option<usize>,
    pub sort: Option<FilmRequestSort>,
    pub genre: Option<String>,
    pub decade: Option<u16>,
    pub year: Option<u16>,
    pub service: Option<String>,
    pub where_film_status: Vec<FilmStatus>,
    pub member: Option<String>,
    pub member_relationship: Option<FilmRelationshipType>,
    pub include_friends: Option<IncludeFriends>,
    pub tag_code: Option<String>,
    pub tagger: Option<String>,
    pub include_tagger_friends: Option<IncludeFriends>,
}

Fields

The pagination cursor.

The number of items to include per page (default is 20, maximum is 100).

The order in which the films should be returned. Defaults to FilmPopularity, which is an all-time measurement of the amount of activity the film has received. The FilmPopularityWithFriends values are only available to signed-in members and consider popularity amongst the signed-in member’s friends.

Specify the LID of a genre to limit films to those within the specified genre.

Specify the starting year of a decade (must end in 0) to limit films to those released during the decade. 1990

Specify a year to limit films to those released during that year. 1994

Specify the ID of a supported service to limit films to those available from that service. The list of available services can be found by using the /films/film-services endpoint.

Specify one or more values to limit the list of films accordingly. where=Watched&where=Released

Specify the LID of a member to limit the returned films according to the value set in memberRelationship.

Must be used in conjunction with member. Defaults to Watched. Specify the type of relationship to limit the returned films accordingly.

Must be used in conjunction with member. Defaults to None, which only returns films from the member’s account. Use Only to return films from the member’s friends, and All to return films from both the member and their friends.

Specify a tag code to limit the returned films to those tagged accordingly.

Must be used with tag. Specify the LID of a member to focus the tag filter on the member.

Must be used in conjunction with tagger. Defaults to None, which filters tags set by the member. Use Only to filter tags set by the member’s friends, and All to filter tags set by both the member and their friends.

Trait Implementations

impl Debug for FilmsRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for FilmsRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for FilmsRequest
[src]

[src]

Returns the "default value" for a type. Read more