Struct google_spectrum1_explorer::api::GeoLocation
source · pub struct GeoLocation {
pub confidence: Option<i32>,
pub point: Option<GeoLocationEllipse>,
pub region: Option<GeoLocationPolygon>,
}
Expand description
This parameter is used to specify the geolocation of the device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§confidence: Option<i32>
The location confidence level, as an integer percentage, may be required, depending on the regulatory domain. When the parameter is optional and not provided, its value is assumed to be 95. Valid values range from 0 to 99, since, in practice, 100-percent confidence is not achievable. The confidence value is meaningful only when geolocation refers to a point with uncertainty.
point: Option<GeoLocationEllipse>
If present, indicates that the geolocation represents a point. Paradoxically, a point is parameterized using an ellipse, where the center represents the location of the point and the distances along the major and minor axes represent the uncertainty. The uncertainty values may be required, depending on the regulatory domain.
region: Option<GeoLocationPolygon>
If present, indicates that the geolocation represents a region. Database support for regions is optional.
Trait Implementations§
source§impl Clone for GeoLocation
impl Clone for GeoLocation
source§fn clone(&self) -> GeoLocation
fn clone(&self) -> GeoLocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more