Struct aws_sdk_iotwireless::types::builders::GnssBuilder
source · #[non_exhaustive]pub struct GnssBuilder { /* private fields */ }Expand description
A builder for Gnss.
Implementations§
source§impl GnssBuilder
impl GnssBuilder
sourcepub fn payload(self, input: impl Into<String>) -> Self
pub fn payload(self, input: impl Into<String>) -> Self
Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.
This field is required.sourcepub fn set_payload(self, input: Option<String>) -> Self
pub fn set_payload(self, input: Option<String>) -> Self
Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.
sourcepub fn get_payload(&self) -> &Option<String>
pub fn get_payload(&self) -> &Option<String>
Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.
sourcepub fn capture_time(self, input: f32) -> Self
pub fn capture_time(self, input: f32) -> Self
Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.
sourcepub fn set_capture_time(self, input: Option<f32>) -> Self
pub fn set_capture_time(self, input: Option<f32>) -> Self
Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.
sourcepub fn get_capture_time(&self) -> &Option<f32>
pub fn get_capture_time(&self) -> &Option<f32>
Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.
sourcepub fn capture_time_accuracy(self, input: f32) -> Self
pub fn capture_time_accuracy(self, input: f32) -> Self
Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.
sourcepub fn set_capture_time_accuracy(self, input: Option<f32>) -> Self
pub fn set_capture_time_accuracy(self, input: Option<f32>) -> Self
Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.
sourcepub fn get_capture_time_accuracy(&self) -> &Option<f32>
pub fn get_capture_time_accuracy(&self) -> &Option<f32>
Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.
sourcepub fn assist_position(self, input: f32) -> Self
pub fn assist_position(self, input: f32) -> Self
Appends an item to assist_position.
To override the contents of this collection use set_assist_position.
Optional assistance position information, specified using latitude and longitude values in degrees. The coordinates are inside the WGS84 reference frame.
sourcepub fn set_assist_position(self, input: Option<Vec<f32>>) -> Self
pub fn set_assist_position(self, input: Option<Vec<f32>>) -> Self
Optional assistance position information, specified using latitude and longitude values in degrees. The coordinates are inside the WGS84 reference frame.
sourcepub fn get_assist_position(&self) -> &Option<Vec<f32>>
pub fn get_assist_position(&self) -> &Option<Vec<f32>>
Optional assistance position information, specified using latitude and longitude values in degrees. The coordinates are inside the WGS84 reference frame.
sourcepub fn assist_altitude(self, input: f32) -> Self
pub fn assist_altitude(self, input: f32) -> Self
Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
sourcepub fn set_assist_altitude(self, input: Option<f32>) -> Self
pub fn set_assist_altitude(self, input: Option<f32>) -> Self
Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
sourcepub fn get_assist_altitude(&self) -> &Option<f32>
pub fn get_assist_altitude(&self) -> &Option<f32>
Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
sourcepub fn use2_d_solver(self, input: bool) -> Self
pub fn use2_d_solver(self, input: bool) -> Self
Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.
sourcepub fn set_use2_d_solver(self, input: Option<bool>) -> Self
pub fn set_use2_d_solver(self, input: Option<bool>) -> Self
Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.
sourcepub fn get_use2_d_solver(&self) -> &Option<bool>
pub fn get_use2_d_solver(&self) -> &Option<bool>
Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.
Trait Implementations§
source§impl Clone for GnssBuilder
impl Clone for GnssBuilder
source§fn clone(&self) -> GnssBuilder
fn clone(&self) -> GnssBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GnssBuilder
impl Debug for GnssBuilder
source§impl Default for GnssBuilder
impl Default for GnssBuilder
source§fn default() -> GnssBuilder
fn default() -> GnssBuilder
source§impl PartialEq for GnssBuilder
impl PartialEq for GnssBuilder
impl StructuralPartialEq for GnssBuilder
Auto Trait Implementations§
impl Freeze for GnssBuilder
impl RefUnwindSafe for GnssBuilder
impl Send for GnssBuilder
impl Sync for GnssBuilder
impl Unpin for GnssBuilder
impl UnwindSafe for GnssBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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