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
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]
fn new(input: String) -> SearchRequest
[src]
Trait Implementations
impl Debug for SearchRequest
[src]
impl Clone for SearchRequest
[src]
fn clone(&self) -> SearchRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more