pub struct SearchParameters {
pub engine: String,
pub query: String,
pub google_domain: Option<String>,
pub geolocation: Option<String>,
pub language: Option<String>,
pub device: Option<String>,
}
Expand description
Parameters used for the search
Fields§
§engine: String
§query: String
§google_domain: Option<String>
§geolocation: Option<String>
§language: Option<String>
§device: Option<String>
Trait Implementations§
Source§impl Clone for SearchParameters
impl Clone for SearchParameters
Source§fn clone(&self) -> SearchParameters
fn clone(&self) -> SearchParameters
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 moreSource§impl Debug for SearchParameters
impl Debug for SearchParameters
Source§impl<'de> Deserialize<'de> for SearchParameters
impl<'de> Deserialize<'de> for SearchParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchParameters
impl RefUnwindSafe for SearchParameters
impl Send for SearchParameters
impl Sync for SearchParameters
impl Unpin for SearchParameters
impl UnwindSafe for SearchParameters
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