Struct letterboxd::ListEntriesRequest
source · pub struct ListEntriesRequest {Show 14 fields
pub cursor: Option<Cursor>,
pub per_page: Option<usize>,
pub sort: Option<ListEntriesRequestSort>,
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§
§cursor: Option<Cursor>
The pagination cursor.
per_page: Option<usize>
The number of items to include per page (default is 20, maximum is 100).
sort: Option<ListEntriesRequestSort>
The order in which the entries should be returned. Defaults to ListRanking, which is the order specified by the list owner.
genre: Option<String>
Specify the LID of a genre to limit films to those within the specified genre.
decade: Option<u16>
Specify the starting year of a decade (must end in 0) to limit films to those released during the decade. 1990
year: Option<u16>
Specify a year to limit films to those released during that year. 1994
service: Option<String>
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.
where_film_status: Vec<FilmStatus>
Specify one or more values to limit the list of films accordingly. where=Watched&where=Released
member: Option<String>
Specify the LID of a member to limit the returned films according to the value set in memberRelationship.
member_relationship: Option<FilmRelationshipType>
Must be used in conjunction with member. Defaults to Watched. Specify the type of relationship to limit the returned films accordingly.
include_friends: Option<IncludeFriends>
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.
tag_code: Option<String>
Specify a tag code to limit the returned films to those tagged accordingly.
tagger: Option<String>
Must be used with tag. Specify the LID of a member to focus the tag filter on the member.
include_tagger_friends: Option<IncludeFriends>
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§
source§impl Clone for ListEntriesRequest
impl Clone for ListEntriesRequest
source§fn clone(&self) -> ListEntriesRequest
fn clone(&self) -> ListEntriesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more