#[non_exhaustive]pub struct LoRaWanServiceProfileBuilder { /* private fields */ }
Expand description
A builder for LoRaWanServiceProfile
.
Implementations§
source§impl LoRaWanServiceProfileBuilder
impl LoRaWanServiceProfileBuilder
sourcepub fn add_gw_metadata(self, input: bool) -> Self
pub fn add_gw_metadata(self, input: bool) -> Self
The AddGWMetaData value.
sourcepub fn set_add_gw_metadata(self, input: Option<bool>) -> Self
pub fn set_add_gw_metadata(self, input: Option<bool>) -> Self
The AddGWMetaData value.
sourcepub fn get_add_gw_metadata(&self) -> &Option<bool>
pub fn get_add_gw_metadata(&self) -> &Option<bool>
The AddGWMetaData value.
sourcepub fn set_dr_min(self, input: Option<i32>) -> Self
pub fn set_dr_min(self, input: Option<i32>) -> Self
The DrMin value.
sourcepub fn get_dr_min(&self) -> &Option<i32>
pub fn get_dr_min(&self) -> &Option<i32>
The DrMin value.
sourcepub fn set_dr_max(self, input: Option<i32>) -> Self
pub fn set_dr_max(self, input: Option<i32>) -> Self
The DrMax value.
sourcepub fn get_dr_max(&self) -> &Option<i32>
pub fn get_dr_max(&self) -> &Option<i32>
The DrMax value.
sourcepub fn pr_allowed(self, input: bool) -> Self
pub fn pr_allowed(self, input: bool) -> Self
The PRAllowed value that describes whether passive roaming is allowed.
sourcepub fn set_pr_allowed(self, input: Option<bool>) -> Self
pub fn set_pr_allowed(self, input: Option<bool>) -> Self
The PRAllowed value that describes whether passive roaming is allowed.
sourcepub fn get_pr_allowed(&self) -> &Option<bool>
pub fn get_pr_allowed(&self) -> &Option<bool>
The PRAllowed value that describes whether passive roaming is allowed.
sourcepub fn ra_allowed(self, input: bool) -> Self
pub fn ra_allowed(self, input: bool) -> Self
The RAAllowed value that describes whether roaming activation is allowed.
sourcepub fn set_ra_allowed(self, input: Option<bool>) -> Self
pub fn set_ra_allowed(self, input: Option<bool>) -> Self
The RAAllowed value that describes whether roaming activation is allowed.
sourcepub fn get_ra_allowed(&self) -> &Option<bool>
pub fn get_ra_allowed(&self) -> &Option<bool>
The RAAllowed value that describes whether roaming activation is allowed.
sourcepub fn build(self) -> LoRaWanServiceProfile
pub fn build(self) -> LoRaWanServiceProfile
Consumes the builder and constructs a LoRaWanServiceProfile
.
Trait Implementations§
source§impl Clone for LoRaWanServiceProfileBuilder
impl Clone for LoRaWanServiceProfileBuilder
source§fn clone(&self) -> LoRaWanServiceProfileBuilder
fn clone(&self) -> LoRaWanServiceProfileBuilder
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 Debug for LoRaWanServiceProfileBuilder
impl Debug for LoRaWanServiceProfileBuilder
source§impl Default for LoRaWanServiceProfileBuilder
impl Default for LoRaWanServiceProfileBuilder
source§fn default() -> LoRaWanServiceProfileBuilder
fn default() -> LoRaWanServiceProfileBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanServiceProfileBuilder
impl PartialEq for LoRaWanServiceProfileBuilder
source§fn eq(&self, other: &LoRaWanServiceProfileBuilder) -> bool
fn eq(&self, other: &LoRaWanServiceProfileBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoRaWanServiceProfileBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LoRaWanServiceProfileBuilder
impl Send for LoRaWanServiceProfileBuilder
impl Sync for LoRaWanServiceProfileBuilder
impl Unpin for LoRaWanServiceProfileBuilder
impl UnwindSafe for LoRaWanServiceProfileBuilder
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.