#[non_exhaustive]pub struct GetPositionOutput {
pub position: Option<Vec<f32>>,
pub accuracy: Option<Accuracy>,
pub solver_type: Option<PositionSolverType>,
pub solver_provider: Option<PositionSolverProvider>,
pub solver_version: Option<String>,
pub timestamp: Option<String>,
/* private fields */
}
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.position: Option<Vec<f32>>
The position information of the resource.
accuracy: Option<Accuracy>
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.
solver_type: Option<PositionSolverType>
The type of solver used to identify the position of the resource.
solver_provider: Option<PositionSolverProvider>
The vendor of the positioning solver.
solver_version: Option<String>
The version of the positioning solver.
timestamp: Option<String>
The timestamp at which the device's position was determined.
Implementations§
source§impl GetPositionOutput
impl GetPositionOutput
sourcepub fn accuracy(&self) -> Option<&Accuracy>
pub fn accuracy(&self) -> Option<&Accuracy>
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.
sourcepub fn solver_type(&self) -> Option<&PositionSolverType>
pub fn solver_type(&self) -> Option<&PositionSolverType>
The type of solver used to identify the position of the resource.
sourcepub fn solver_provider(&self) -> Option<&PositionSolverProvider>
pub fn solver_provider(&self) -> Option<&PositionSolverProvider>
The vendor of the positioning solver.
sourcepub fn solver_version(&self) -> Option<&str>
pub fn solver_version(&self) -> Option<&str>
The version of the positioning solver.
source§impl GetPositionOutput
impl GetPositionOutput
sourcepub fn builder() -> GetPositionOutputBuilder
pub fn builder() -> GetPositionOutputBuilder
Creates a new builder-style object to manufacture GetPositionOutput
.
Trait Implementations§
source§impl Clone for GetPositionOutput
impl Clone for GetPositionOutput
source§fn clone(&self) -> GetPositionOutput
fn clone(&self) -> GetPositionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPositionOutput
impl Debug for GetPositionOutput
source§impl PartialEq for GetPositionOutput
impl PartialEq for GetPositionOutput
source§fn eq(&self, other: &GetPositionOutput) -> bool
fn eq(&self, other: &GetPositionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetPositionOutput
impl RequestId for GetPositionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.