Struct google_geocoding::Geometry[][src]

pub struct Geometry {
    pub location: Coordinates,
    pub location_type: LocationType,
    pub viewport: Viewport,
    pub bounds: Option<Viewport>,
}

Position information

Fields

The geocoded latitude, longitude value. For normal address lookups, this field is typically the most important.

Stores additional data about the specified location

the recommended viewport for displaying the returned result, specified as two latitude,longitude values defining the southwest and northeast corner of the viewport bounding box. Generally the viewport is used to frame a result when displaying it to a user.

The bounding box which can fully contain the returned result. Note that these bounds may not match the recommended viewport. (For example, San Francisco includes the Farallon islands, which are technically part of the city, but probably should not be returned in the viewport.)

Trait Implementations

impl Debug for Geometry
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Geometry

impl Sync for Geometry