pub struct GeoPositionRef {
pub object_type: String,
pub latitude: f64,
pub longitude: f64,
}Expand description
GeoPositionRef : Reference to a GeoPosition consisting of latitude and longitude.
Fields§
§object_type: StringAttribute is used as discriminator for inheritance between data types.
latitude: f64Latitude from equator. -90 (South) to +90 (North). Decimal degrees. e.g. 56.356.
longitude: f64Longitude from Greenwich Meridian. -180 (West) to +180 (East). Decimal degrees. eg 2.356.
Implementations§
Trait Implementations§
Source§impl Clone for GeoPositionRef
impl Clone for GeoPositionRef
Source§fn clone(&self) -> GeoPositionRef
fn clone(&self) -> GeoPositionRef
Returns a duplicate 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 GeoPositionRef
impl Debug for GeoPositionRef
Source§impl Default for GeoPositionRef
impl Default for GeoPositionRef
Source§fn default() -> GeoPositionRef
fn default() -> GeoPositionRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeoPositionRef
impl<'de> Deserialize<'de> for GeoPositionRef
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 PartialEq for GeoPositionRef
impl PartialEq for GeoPositionRef
Source§impl Serialize for GeoPositionRef
impl Serialize for GeoPositionRef
impl StructuralPartialEq for GeoPositionRef
Auto Trait Implementations§
impl Freeze for GeoPositionRef
impl RefUnwindSafe for GeoPositionRef
impl Send for GeoPositionRef
impl Sync for GeoPositionRef
impl Unpin for GeoPositionRef
impl UnwindSafe for GeoPositionRef
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