Enum google_geocoding::Place [−][src]
pub enum Place { Address { address: String, }, ComponentFilter { components: ApiSet<ComponentFilterRule>, }, }
An address in one of various formats
Variants
Address
A specific place
Fields of Address
address: String | The street address that you want to geocode, in the format used by the national postal service of the country concerned. Additional address elements such as business names and unit, suite or floor numbers should be avoided. Please refer to the FAQ for additional guidance. |
ComponentFilter
The address broken down into components
Fields of ComponentFilter
components: ApiSet<ComponentFilterRule> | The components filter is required if the request doesn't include an address. Each element in the components filter consists of a component:value pair, and fully restricts the results from the geocoder. See more information about component filtering below. |
Trait Implementations
impl Debug for Place
[src]
impl Debug for Place
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 Place where
T: Into<String>,
[src]
impl<T> From<T> for Place where
T: Into<String>,