#[non_exhaustive]pub struct SemtechGnssConfigurationBuilder { /* private fields */ }Expand description
A builder for SemtechGnssConfiguration.
Implementations§
source§impl SemtechGnssConfigurationBuilder
impl SemtechGnssConfigurationBuilder
sourcepub fn status(self, input: PositionConfigurationStatus) -> Self
pub fn status(self, input: PositionConfigurationStatus) -> Self
The status indicating whether the solver is enabled.
This field is required.sourcepub fn set_status(self, input: Option<PositionConfigurationStatus>) -> Self
pub fn set_status(self, input: Option<PositionConfigurationStatus>) -> Self
The status indicating whether the solver is enabled.
sourcepub fn get_status(&self) -> &Option<PositionConfigurationStatus>
pub fn get_status(&self) -> &Option<PositionConfigurationStatus>
The status indicating whether the solver is enabled.
sourcepub fn fec(self, input: PositionConfigurationFec) -> Self
pub fn fec(self, input: PositionConfigurationFec) -> Self
Whether forward error correction is enabled.
This field is required.sourcepub fn set_fec(self, input: Option<PositionConfigurationFec>) -> Self
pub fn set_fec(self, input: Option<PositionConfigurationFec>) -> Self
Whether forward error correction is enabled.
sourcepub fn get_fec(&self) -> &Option<PositionConfigurationFec>
pub fn get_fec(&self) -> &Option<PositionConfigurationFec>
Whether forward error correction is enabled.
sourcepub fn build(self) -> Result<SemtechGnssConfiguration, BuildError>
pub fn build(self) -> Result<SemtechGnssConfiguration, BuildError>
Consumes the builder and constructs a SemtechGnssConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SemtechGnssConfigurationBuilder
impl Clone for SemtechGnssConfigurationBuilder
source§fn clone(&self) -> SemtechGnssConfigurationBuilder
fn clone(&self) -> SemtechGnssConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SemtechGnssConfigurationBuilder
impl Default for SemtechGnssConfigurationBuilder
source§fn default() -> SemtechGnssConfigurationBuilder
fn default() -> SemtechGnssConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SemtechGnssConfigurationBuilder
impl PartialEq for SemtechGnssConfigurationBuilder
source§fn eq(&self, other: &SemtechGnssConfigurationBuilder) -> bool
fn eq(&self, other: &SemtechGnssConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SemtechGnssConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SemtechGnssConfigurationBuilder
impl RefUnwindSafe for SemtechGnssConfigurationBuilder
impl Send for SemtechGnssConfigurationBuilder
impl Sync for SemtechGnssConfigurationBuilder
impl Unpin for SemtechGnssConfigurationBuilder
impl UnwindSafe for SemtechGnssConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.