[][src]Struct letterboxd::SearchRequest

pub struct SearchRequest {
    pub cursor: Option<Cursor>,
    pub per_page: Option<usize>,
    pub input: String,
    pub search_method: Option<SearchMethod>,
    pub include: Option<Vec<SearchResultType>>,
    pub contribution_type: Option<ContributionType>,
}

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).

input: String

The word, partial word or phrase to search for.

search_method: Option<SearchMethod>

The type of search to perform. Defaults to FullText, which performs a standard search considering text in all fields. Autocomplete only searches primary fields.

include: Option<Vec<SearchResultType>>contribution_type: Option<ContributionType>

The type of contributor to search for. Implies include=ContributorSearchItem.

Methods

impl SearchRequest[src]

pub fn new(input: String) -> SearchRequest[src]

Trait Implementations

impl Clone for SearchRequest[src]

impl Debug for SearchRequest[src]

impl Default for SearchRequest[src]

impl Serialize for SearchRequest[src]

Auto Trait Implementations

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> 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>,