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.
Trait Implementations§
source§impl PartialEq for Accuracy
impl PartialEq for Accuracy
impl StructuralPartialEq for Accuracy
Auto Trait Implementations§
impl Freeze for Accuracy
impl RefUnwindSafe for Accuracy
impl Send for Accuracy
impl Sync for Accuracy
impl Unpin for Accuracy
impl UnwindSafe for Accuracy
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more