Struct google_spectrum1_explorer::api::GeoLocation[][src]

pub struct GeoLocation {
    pub confidence: Option<i32>,
    pub point: Option<GeoLocationEllipse>,
    pub region: Option<GeoLocationPolygon>,
}

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

impl Clone for GeoLocation[src]

impl Debug for GeoLocation[src]

impl Default for GeoLocation[src]

impl<'de> Deserialize<'de> for GeoLocation[src]

impl Part for GeoLocation[src]

impl Serialize for GeoLocation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.