#[non_exhaustive]pub struct LoRaWanGetServiceProfileInfo {Show 19 fields
pub ul_rate: Option<i32>,
pub ul_bucket_size: Option<i32>,
pub ul_rate_policy: Option<String>,
pub dl_rate: Option<i32>,
pub dl_bucket_size: Option<i32>,
pub dl_rate_policy: Option<String>,
pub add_gw_metadata: bool,
pub dev_status_req_freq: Option<i32>,
pub report_dev_status_battery: bool,
pub report_dev_status_margin: bool,
pub dr_min: i32,
pub dr_max: i32,
pub channel_mask: Option<String>,
pub pr_allowed: bool,
pub hr_allowed: bool,
pub ra_allowed: bool,
pub nwk_geo_loc: bool,
pub target_per: i32,
pub min_gw_diversity: Option<i32>,
}
Expand description
LoRaWANGetServiceProfileInfo object.
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.ul_rate: Option<i32>
The ULRate value.
ul_bucket_size: Option<i32>
The ULBucketSize value.
ul_rate_policy: Option<String>
The ULRatePolicy value.
dl_rate: Option<i32>
The DLRate value.
dl_bucket_size: Option<i32>
The DLBucketSize value.
dl_rate_policy: Option<String>
The DLRatePolicy value.
add_gw_metadata: bool
The AddGWMetaData value.
dev_status_req_freq: Option<i32>
The DevStatusReqFreq value.
report_dev_status_battery: bool
The ReportDevStatusBattery value.
report_dev_status_margin: bool
The ReportDevStatusMargin value.
dr_min: i32
The DRMin value.
dr_max: i32
The DRMax value.
channel_mask: Option<String>
The ChannelMask value.
pr_allowed: bool
The PRAllowed value that describes whether passive roaming is allowed.
hr_allowed: bool
The HRAllowed value that describes whether handover roaming is allowed.
ra_allowed: bool
The RAAllowed value that describes whether roaming activation is allowed.
nwk_geo_loc: bool
The NwkGeoLoc value.
target_per: i32
The TargetPER value.
min_gw_diversity: Option<i32>
The MinGwDiversity value.
Implementations§
source§impl LoRaWanGetServiceProfileInfo
impl LoRaWanGetServiceProfileInfo
sourcepub fn ul_bucket_size(&self) -> Option<i32>
pub fn ul_bucket_size(&self) -> Option<i32>
The ULBucketSize value.
sourcepub fn ul_rate_policy(&self) -> Option<&str>
pub fn ul_rate_policy(&self) -> Option<&str>
The ULRatePolicy value.
sourcepub fn dl_bucket_size(&self) -> Option<i32>
pub fn dl_bucket_size(&self) -> Option<i32>
The DLBucketSize value.
sourcepub fn dl_rate_policy(&self) -> Option<&str>
pub fn dl_rate_policy(&self) -> Option<&str>
The DLRatePolicy value.
sourcepub fn add_gw_metadata(&self) -> bool
pub fn add_gw_metadata(&self) -> bool
The AddGWMetaData value.
sourcepub fn dev_status_req_freq(&self) -> Option<i32>
pub fn dev_status_req_freq(&self) -> Option<i32>
The DevStatusReqFreq value.
sourcepub fn report_dev_status_battery(&self) -> bool
pub fn report_dev_status_battery(&self) -> bool
The ReportDevStatusBattery value.
sourcepub fn report_dev_status_margin(&self) -> bool
pub fn report_dev_status_margin(&self) -> bool
The ReportDevStatusMargin value.
sourcepub fn channel_mask(&self) -> Option<&str>
pub fn channel_mask(&self) -> Option<&str>
The ChannelMask value.
sourcepub fn pr_allowed(&self) -> bool
pub fn pr_allowed(&self) -> bool
The PRAllowed value that describes whether passive roaming is allowed.
sourcepub fn hr_allowed(&self) -> bool
pub fn hr_allowed(&self) -> bool
The HRAllowed value that describes whether handover roaming is allowed.
sourcepub fn ra_allowed(&self) -> bool
pub fn ra_allowed(&self) -> bool
The RAAllowed value that describes whether roaming activation is allowed.
sourcepub fn nwk_geo_loc(&self) -> bool
pub fn nwk_geo_loc(&self) -> bool
The NwkGeoLoc value.
sourcepub fn target_per(&self) -> i32
pub fn target_per(&self) -> i32
The TargetPER value.
sourcepub fn min_gw_diversity(&self) -> Option<i32>
pub fn min_gw_diversity(&self) -> Option<i32>
The MinGwDiversity value.
source§impl LoRaWanGetServiceProfileInfo
impl LoRaWanGetServiceProfileInfo
sourcepub fn builder() -> LoRaWanGetServiceProfileInfoBuilder
pub fn builder() -> LoRaWanGetServiceProfileInfoBuilder
Creates a new builder-style object to manufacture LoRaWanGetServiceProfileInfo
.
Trait Implementations§
source§impl Clone for LoRaWanGetServiceProfileInfo
impl Clone for LoRaWanGetServiceProfileInfo
source§fn clone(&self) -> LoRaWanGetServiceProfileInfo
fn clone(&self) -> LoRaWanGetServiceProfileInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoRaWanGetServiceProfileInfo
impl Debug for LoRaWanGetServiceProfileInfo
source§impl PartialEq for LoRaWanGetServiceProfileInfo
impl PartialEq for LoRaWanGetServiceProfileInfo
source§fn eq(&self, other: &LoRaWanGetServiceProfileInfo) -> bool
fn eq(&self, other: &LoRaWanGetServiceProfileInfo) -> bool
self
and other
values to be equal, and is used
by ==
.