pub struct Geolocation {
pub latitude: f64,
pub longitude: f64,
pub accuracy: f64,
}Expand description
Geolocation coordinates
Fields§
§latitude: f64Latitude
longitude: f64Longitude
accuracy: f64Accuracy in meters
Trait Implementations§
Source§impl Clone for Geolocation
impl Clone for Geolocation
Source§fn clone(&self) -> Geolocation
fn clone(&self) -> Geolocation
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 Geolocation
impl Debug for Geolocation
Source§impl<'de> Deserialize<'de> for Geolocation
impl<'de> Deserialize<'de> for Geolocation
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 Geolocation
impl Serialize for Geolocation
impl Copy for Geolocation
Auto Trait Implementations§
impl Freeze for Geolocation
impl RefUnwindSafe for Geolocation
impl Send for Geolocation
impl Sync for Geolocation
impl Unpin for Geolocation
impl UnsafeUnpin for Geolocation
impl UnwindSafe for Geolocation
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