Struct google_geocoding::GeocodeQuery [−][src]
pub struct GeocodeQuery { /* fields omitted */ }
A query for coordinates
Methods
impl GeocodeQuery
[src]
impl GeocodeQuery
pub fn new(
filter: impl Into<Place>
) -> Self
[src]
pub fn new(
filter: impl Into<Place>
) -> Self
Creates a new coordinates query
pub fn bounds(self, i_bounds: Viewport) -> Self
[src]
pub fn bounds(self, i_bounds: Viewport) -> Self
The bounding box of the viewport within which to bias geocode results more prominently. This parameter will only influence, not fully restrict, results from the geocoder. (For more information see Viewport Biasing below.)
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 region(self, i_region: Region) -> Self
[src]
pub fn region(self, i_region: Region) -> Self
The region code.
This parameter will only influence, not fully restrict, results from the geocoder. (For more information see Region Biasing below.)
Trait Implementations
impl Debug for GeocodeQuery
[src]
impl Debug for GeocodeQuery
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 GeocodeQuery where
Place: From<T>,
[src]
impl<T> From<T> for GeocodeQuery where
Place: From<T>,
Auto Trait Implementations
impl Send for GeocodeQuery
impl Send for GeocodeQuery
impl Sync for GeocodeQuery
impl Sync for GeocodeQuery