pub struct Query {
pub query: String,
pub count: u32,
pub locale: String,
}
Expand description
Encodes custom search parameters to a query string
Fields§
§query: String
Query string that will be transmitted to the engine
count: u32
The number of responses to return when searching
locale: String
Set the locale when requesting the api response
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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