[][src]Struct lorawan::maccommands::DLSettings

pub struct DLSettings(_);

DLSettings represents LoRaWAN DLSettings.

Implementations

impl DLSettings[src]

pub fn new(byte: u8) -> DLSettings[src]

Constructs a new DLSettings from the provided data.

pub fn rx1_dr_offset(&self) -> u8[src]

The offset between the uplink data rate and the downlink data rate used to communicate with the end-device on the first reception slot (RX1).

pub fn rx2_data_rate(&self) -> u8[src]

The data rate of a downlink using the second receive window.

pub fn raw_value(&self) -> u8[src]

The integer value of the DL Settings.

Trait Implementations

impl Debug for DLSettings[src]

impl From<u8> for DLSettings[src]

impl PartialEq<DLSettings> for DLSettings[src]

impl StructuralPartialEq for DLSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.