#[non_exhaustive]pub struct GetPositionOutputBuilder { /* private fields */ }
Expand description
A builder for GetPositionOutput
.
Implementations§
source§impl GetPositionOutputBuilder
impl GetPositionOutputBuilder
sourcepub fn position(self, input: f32) -> Self
pub fn position(self, input: f32) -> Self
Appends an item to position
.
To override the contents of this collection use set_position
.
The position information of the resource.
sourcepub fn set_position(self, input: Option<Vec<f32>>) -> Self
pub fn set_position(self, input: Option<Vec<f32>>) -> Self
The position information of the resource.
sourcepub fn get_position(&self) -> &Option<Vec<f32>>
pub fn get_position(&self) -> &Option<Vec<f32>>
The position information of the resource.
sourcepub fn accuracy(self, input: Accuracy) -> Self
pub fn accuracy(self, input: Accuracy) -> Self
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 set_accuracy(self, input: Option<Accuracy>) -> Self
pub fn set_accuracy(self, input: Option<Accuracy>) -> Self
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 get_accuracy(&self) -> &Option<Accuracy>
pub fn get_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, input: PositionSolverType) -> Self
pub fn solver_type(self, input: PositionSolverType) -> Self
The type of solver used to identify the position of the resource.
sourcepub fn set_solver_type(self, input: Option<PositionSolverType>) -> Self
pub fn set_solver_type(self, input: Option<PositionSolverType>) -> Self
The type of solver used to identify the position of the resource.
sourcepub fn get_solver_type(&self) -> &Option<PositionSolverType>
pub fn get_solver_type(&self) -> &Option<PositionSolverType>
The type of solver used to identify the position of the resource.
sourcepub fn solver_provider(self, input: PositionSolverProvider) -> Self
pub fn solver_provider(self, input: PositionSolverProvider) -> Self
The vendor of the positioning solver.
sourcepub fn set_solver_provider(self, input: Option<PositionSolverProvider>) -> Self
pub fn set_solver_provider(self, input: Option<PositionSolverProvider>) -> Self
The vendor of the positioning solver.
sourcepub fn get_solver_provider(&self) -> &Option<PositionSolverProvider>
pub fn get_solver_provider(&self) -> &Option<PositionSolverProvider>
The vendor of the positioning solver.
sourcepub fn solver_version(self, input: impl Into<String>) -> Self
pub fn solver_version(self, input: impl Into<String>) -> Self
The version of the positioning solver.
sourcepub fn set_solver_version(self, input: Option<String>) -> Self
pub fn set_solver_version(self, input: Option<String>) -> Self
The version of the positioning solver.
sourcepub fn get_solver_version(&self) -> &Option<String>
pub fn get_solver_version(&self) -> &Option<String>
The version of the positioning solver.
sourcepub fn timestamp(self, input: impl Into<String>) -> Self
pub fn timestamp(self, input: impl Into<String>) -> Self
The timestamp at which the device's position was determined.
sourcepub fn set_timestamp(self, input: Option<String>) -> Self
pub fn set_timestamp(self, input: Option<String>) -> Self
The timestamp at which the device's position was determined.
sourcepub fn get_timestamp(&self) -> &Option<String>
pub fn get_timestamp(&self) -> &Option<String>
The timestamp at which the device's position was determined.
sourcepub fn build(self) -> GetPositionOutput
pub fn build(self) -> GetPositionOutput
Consumes the builder and constructs a GetPositionOutput
.
Trait Implementations§
source§impl Clone for GetPositionOutputBuilder
impl Clone for GetPositionOutputBuilder
source§fn clone(&self) -> GetPositionOutputBuilder
fn clone(&self) -> GetPositionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPositionOutputBuilder
impl Debug for GetPositionOutputBuilder
source§impl Default for GetPositionOutputBuilder
impl Default for GetPositionOutputBuilder
source§fn default() -> GetPositionOutputBuilder
fn default() -> GetPositionOutputBuilder
source§impl PartialEq for GetPositionOutputBuilder
impl PartialEq for GetPositionOutputBuilder
source§fn eq(&self, other: &GetPositionOutputBuilder) -> bool
fn eq(&self, other: &GetPositionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.