Struct lorawan::maccommands::DLSettings
source · pub struct DLSettings(/* private fields */);
Expand description
DLSettings represents LoRaWAN DLSettings.
Implementations§
source§impl 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§
source§impl Debug for DLSettings
impl Debug for DLSettings
source§impl From<u8> for DLSettings
impl From<u8> for DLSettings
source§impl PartialEq for DLSettings
impl PartialEq for DLSettings
source§fn 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 ==
.impl Eq for DLSettings
impl StructuralEq for DLSettings
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§
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