pub struct PositioningResponse {
pub coordinate: Coordinate,
pub accuracy: Option<f64>,
pub altitude: Option<f64>,
pub altitude_accuracy: Option<f64>,
pub raw: Option<Value>,
}Expand description
A unified positioning response from the core trait.
Fields§
§coordinate: CoordinateThe estimated position
accuracy: Option<f64>Accuracy of the position estimate in meters
altitude: Option<f64>Altitude in meters above sea level (if available)
altitude_accuracy: Option<f64>Accuracy of the altitude estimate in meters
raw: Option<Value>Provider-specific raw data for advanced use cases
Trait Implementations§
Source§impl Clone for PositioningResponse
impl Clone for PositioningResponse
Source§fn clone(&self) -> PositioningResponse
fn clone(&self) -> PositioningResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PositioningResponse
impl Debug for PositioningResponse
Source§impl<'de> Deserialize<'de> for PositioningResponse
impl<'de> Deserialize<'de> for PositioningResponse
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
Auto Trait Implementations§
impl Freeze for PositioningResponse
impl RefUnwindSafe for PositioningResponse
impl Send for PositioningResponse
impl Sync for PositioningResponse
impl Unpin for PositioningResponse
impl UnsafeUnpin for PositioningResponse
impl UnwindSafe for PositioningResponse
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