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

source§

fn clone(&self) -> ListEntriesRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ListEntriesRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ListEntriesRequest

source§

fn default() -> ListEntriesRequest

Returns the “default value” for a type. Read more
source§

impl Serialize for ListEntriesRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more