Struct google_geocoding::DegeocodeQuery [−][src]
pub struct DegeocodeQuery { /* fields omitted */ }
A query for an address
Methods
impl DegeocodeQuery
[src]
impl DegeocodeQuery
pub fn new(
coordinates: impl Into<Coordinates>
) -> Self
[src]
pub fn new(
coordinates: impl Into<Coordinates>
) -> Self
Creates a new address query
pub fn language(self, i_language: Language) -> Self
[src]
pub fn language(self, i_language: Language) -> Self
The language in which to return results.
pub fn location_type(self, i_location_type: ApiSet<LocationType>) -> Self
[src]
pub fn location_type(self, i_location_type: ApiSet<LocationType>) -> Self
A filter of one or more location types.
If the parameter contains multiple location types, the API returns all addresses that match any of the types.
A note about processing: The location_type parameter does not restrict the search to the specified location type(s). Rather, the location_type acts as a post-search filter: the API fetches all results for the specified latlng, then discards those results that do not match the specified location type(s).
Note: This parameter is available only for requests that include an API key or a client ID.
pub fn result_type(self, i_result_type: ApiSet<Type>) -> Self
[src]
pub fn result_type(self, i_result_type: ApiSet<Type>) -> Self
A filter of one or more address types.
If the parameter contains multiple address types, the API returns all addresses that match any of the types.
A note about processing: The result_type parameter does not restrict the search to the specified address type(s). Rather, the result_type acts as a post-search filter: the API fetches all results for the specified latlng, then discards those results that do not match the specified address type(s).
Note: This parameter is available only for requests that include an API key or a client ID.
Trait Implementations
impl Debug for DegeocodeQuery
[src]
impl Debug for DegeocodeQuery
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> From<T> for DegeocodeQuery where
Coordinates: From<T>,
[src]
impl<T> From<T> for DegeocodeQuery where
Coordinates: From<T>,
Auto Trait Implementations
impl Send for DegeocodeQuery
impl Send for DegeocodeQuery
impl Sync for DegeocodeQuery
impl Sync for DegeocodeQuery