Struct google_books1::api::GeolayerdataGeo
source · pub struct GeolayerdataGeo {
pub boundary: Option<Vec<String>>,
pub cache_policy: Option<String>,
pub country_code: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub map_type: Option<String>,
pub viewport: Option<GeolayerdataGeoViewport>,
pub zoom: Option<i32>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§boundary: Option<Vec<String>>
The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates.
cache_policy: Option<String>
The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER
country_code: Option<String>
The country code of the location.
latitude: Option<f64>
The latitude of the location.
longitude: Option<f64>
The longitude of the location.
map_type: Option<String>
The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN
viewport: Option<GeolayerdataGeoViewport>
The viewport for showing this location. This is a latitude, longitude rectangle.
zoom: Option<i32>
The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings). See: https: //developers.google.com/maps/documentation/staticmaps/#Zoomlevels
Trait Implementations§
source§impl Clone for GeolayerdataGeo
impl Clone for GeolayerdataGeo
source§fn clone(&self) -> GeolayerdataGeo
fn clone(&self) -> GeolayerdataGeo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more