Struct google_spectrum1_explorer::api::GeoLocationPoint
source · pub struct GeoLocationPoint {
pub latitude: Option<f64>,
pub longitude: Option<f64>,
}
Expand description
A single geolocation on the globe.
This type is not used in any activity, and only used as part of another schema.
Fields§
§latitude: Option<f64>
A required floating-point number that expresses the latitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery and Mapping Agency’s Technical Report TR8350.2.
longitude: Option<f64>
A required floating-point number that expresses the longitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery and Mapping Agency’s Technical Report TR8350.2.
Trait Implementations§
source§impl Clone for GeoLocationPoint
impl Clone for GeoLocationPoint
source§fn clone(&self) -> GeoLocationPoint
fn clone(&self) -> GeoLocationPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GeoLocationPoint
impl Debug for GeoLocationPoint
source§impl Default for GeoLocationPoint
impl Default for GeoLocationPoint
source§fn default() -> GeoLocationPoint
fn default() -> GeoLocationPoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GeoLocationPoint
impl<'de> Deserialize<'de> for GeoLocationPoint
source§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
source§impl Serialize for GeoLocationPoint
impl Serialize for GeoLocationPoint
impl Part for GeoLocationPoint
Auto Trait Implementations§
impl RefUnwindSafe for GeoLocationPoint
impl Send for GeoLocationPoint
impl Sync for GeoLocationPoint
impl Unpin for GeoLocationPoint
impl UnwindSafe for GeoLocationPoint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more