pub struct SearchGoogleLocationsRequest {
pub location: Option<Location>,
pub query: Option<String>,
pub result_count: Option<i32>,
}
Expand description
Request message for GoogleLocations.SearchGoogleLocations.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search google locations (request)
Fields§
§location: Option<Location>
Location to search for. If provided, will find locations which match the provided location details.
query: Option<String>
Text query to search for. The search results from a query string will be less accurate than if providing an exact location, but can provide more inexact matches.
result_count: Option<i32>
The number of matches to return. The default value is 3, with a maximum of 10. Note that latency may increase if more are requested. There is no pagination.
Trait Implementations§
source§impl Clone for SearchGoogleLocationsRequest
impl Clone for SearchGoogleLocationsRequest
source§fn clone(&self) -> SearchGoogleLocationsRequest
fn clone(&self) -> SearchGoogleLocationsRequest
Returns a copy 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 SearchGoogleLocationsRequest
impl Debug for SearchGoogleLocationsRequest
source§impl Default for SearchGoogleLocationsRequest
impl Default for SearchGoogleLocationsRequest
source§fn default() -> SearchGoogleLocationsRequest
fn default() -> SearchGoogleLocationsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SearchGoogleLocationsRequest
impl<'de> Deserialize<'de> for SearchGoogleLocationsRequest
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
impl RequestValue for SearchGoogleLocationsRequest
Auto Trait Implementations§
impl RefUnwindSafe for SearchGoogleLocationsRequest
impl Send for SearchGoogleLocationsRequest
impl Sync for SearchGoogleLocationsRequest
impl Unpin for SearchGoogleLocationsRequest
impl UnwindSafe for SearchGoogleLocationsRequest
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