Struct google_vision1::api::LatLng [−][src]
Expand description
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.
This type is not used in any activity, and only used as part of another schema.
Fields
latitude: Option<f64>
The latitude in degrees. It must be in the range [-90.0, +90.0].
longitude: Option<f64>
The longitude in degrees. It must be in the range [-180.0, +180.0].
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for LatLng
impl UnwindSafe for LatLng
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more