Struct aws_sdk_iotwireless::types::Accuracy
source · #[non_exhaustive]pub struct Accuracy {
pub horizontal_accuracy: Option<f32>,
pub vertical_accuracy: Option<f32>,
}
Expand description
The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.horizontal_accuracy: Option<f32>
The horizontal accuracy of the estimated position, which is the difference between the estimated location and the actual device location.
vertical_accuracy: Option<f32>
The vertical accuracy of the estimated position, which is the difference between the estimated altitude and actual device latitude in meters.
Implementations§
source§impl Accuracy
impl Accuracy
sourcepub fn horizontal_accuracy(&self) -> Option<f32>
pub fn horizontal_accuracy(&self) -> Option<f32>
The horizontal accuracy of the estimated position, which is the difference between the estimated location and the actual device location.
sourcepub fn vertical_accuracy(&self) -> Option<f32>
pub fn vertical_accuracy(&self) -> Option<f32>
The vertical accuracy of the estimated position, which is the difference between the estimated altitude and actual device latitude in meters.