pub struct QueryRequest {
pub dest: Dest,
pub terms: String,
pub lang: Option<Lang>,
pub limit: Option<usize>,
pub offset: Option<usize>,
}Expand description
Parameters for the query command
Fields§
§dest: DestCollection and bucket where we should search for objects.
terms: StringSearchable terms.
lang: Option<Lang>Language of the search data. If None, the client will try to determine based on the terms.
limit: Option<usize>Limit of result objects.
offset: Option<usize>The number of result objects we want to skip.
Implementations§
Source§impl QueryRequest
impl QueryRequest
Trait Implementations§
Source§impl Clone for QueryRequest
impl Clone for QueryRequest
Source§fn clone(&self) -> QueryRequest
fn clone(&self) -> QueryRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueryRequest
impl RefUnwindSafe for QueryRequest
impl Send for QueryRequest
impl Sync for QueryRequest
impl Unpin for QueryRequest
impl UnwindSafe for QueryRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more