Struct google_mybusiness4::api::SearchGoogleLocationsRequest [−][src]
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
Returns the “default value” for a type. Read more
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 Send for SearchGoogleLocationsRequest
impl Sync for SearchGoogleLocationsRequest
impl Unpin for SearchGoogleLocationsRequest
impl UnwindSafe for SearchGoogleLocationsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more