#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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

source

pub fn ul_rate(&self) -> Option<i32>

The ULRate value.

source

pub fn ul_bucket_size(&self) -> Option<i32>

The ULBucketSize value.

source

pub fn ul_rate_policy(&self) -> Option<&str>

The ULRatePolicy value.

source

pub fn dl_rate(&self) -> Option<i32>

The DLRate value.

source

pub fn dl_bucket_size(&self) -> Option<i32>

The DLBucketSize value.

source

pub fn dl_rate_policy(&self) -> Option<&str>

The DLRatePolicy value.

source

pub fn add_gw_metadata(&self) -> bool

The AddGWMetaData value.

source

pub fn dev_status_req_freq(&self) -> Option<i32>

The DevStatusReqFreq value.

source

pub fn report_dev_status_battery(&self) -> bool

The ReportDevStatusBattery value.

source

pub fn report_dev_status_margin(&self) -> bool

The ReportDevStatusMargin value.

source

pub fn dr_min(&self) -> i32

The DRMin value.

source

pub fn dr_max(&self) -> i32

The DRMax value.

source

pub fn channel_mask(&self) -> Option<&str>

The ChannelMask value.

source

pub fn pr_allowed(&self) -> bool

The PRAllowed value that describes whether passive roaming is allowed.

source

pub fn hr_allowed(&self) -> bool

The HRAllowed value that describes whether handover roaming is allowed.

source

pub fn ra_allowed(&self) -> bool

The RAAllowed value that describes whether roaming activation is allowed.

source

pub fn nwk_geo_loc(&self) -> bool

The NwkGeoLoc value.

source

pub fn target_per(&self) -> i32

The TargetPER value.

source

pub fn min_gw_diversity(&self) -> Option<i32>

The MinGwDiversity value.

source§

impl LoRaWanGetServiceProfileInfo

source

pub fn builder() -> LoRaWanGetServiceProfileInfoBuilder

Creates a new builder-style object to manufacture LoRaWanGetServiceProfileInfo.

Trait Implementations§

source§

impl Clone for LoRaWanGetServiceProfileInfo

source§

fn clone(&self) -> LoRaWanGetServiceProfileInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoRaWanGetServiceProfileInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for LoRaWanGetServiceProfileInfo

source§

fn eq(&self, other: &LoRaWanGetServiceProfileInfo) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for LoRaWanGetServiceProfileInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more