Struct google_spectrum1_explorer::GeoLocation [−][src]
pub struct GeoLocation { pub confidence: Option<i32>, pub region: Option<GeoLocationPolygon>, pub point: Option<GeoLocationEllipse>, }
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.
region: Option<GeoLocationPolygon>
If present, indicates that the geolocation represents a region. Database support for regions is optional.
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.
Trait Implementations
impl Default for GeoLocation
[src]
impl Default for GeoLocation
fn default() -> GeoLocation
[src]
fn default() -> GeoLocation
Returns the "default value" for a type. Read more
impl Clone for GeoLocation
[src]
impl Clone for GeoLocation
fn clone(&self) -> GeoLocation
[src]
fn clone(&self) -> GeoLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GeoLocation
[src]
impl Debug for GeoLocation
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 Part for GeoLocation
[src]
impl Part for GeoLocation
Auto Trait Implementations
impl Send for GeoLocation
impl Send for GeoLocation
impl Sync for GeoLocation
impl Sync for GeoLocation