Struct letterboxd::SearchRequest [] [src]

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

The pagination cursor.

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

The word, partial word or phrase to search for.

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

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

Methods

impl SearchRequest
[src]

Trait Implementations

impl Debug for SearchRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for SearchRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more