Struct lorawan::maccommands::DLSettings
source · [−]pub struct DLSettings(_);
Expand description
DLSettings represents LoRaWAN DLSettings.
Implementations
sourceimpl DLSettings
impl DLSettings
sourcepub fn new(byte: u8) -> DLSettings
pub fn new(byte: u8) -> DLSettings
Constructs a new DLSettings from the provided data.
sourcepub fn rx1_dr_offset(&self) -> u8
pub fn rx1_dr_offset(&self) -> u8
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).
sourcepub fn rx2_data_rate(&self) -> u8
pub fn rx2_data_rate(&self) -> u8
The data rate of a downlink using the second receive window.
Trait Implementations
sourceimpl Debug for DLSettings
impl Debug for DLSettings
sourceimpl From<u8> for DLSettings
impl From<u8> for DLSettings
sourceimpl PartialEq<DLSettings> for DLSettings
impl PartialEq<DLSettings> for DLSettings
sourcefn eq(&self, other: &DLSettings) -> bool
fn eq(&self, other: &DLSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DLSettings) -> bool
fn ne(&self, other: &DLSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for DLSettings
Auto Trait Implementations
impl RefUnwindSafe for DLSettings
impl Send for DLSettings
impl Sync for DLSettings
impl Unpin for DLSettings
impl UnwindSafe for DLSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more