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.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SearchRequest
impl Send for SearchRequest
impl Sync for SearchRequest
impl Unpin for SearchRequest
impl UnwindSafe for SearchRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more