Struct lorawan::maccommands::NewChannelReqPayload
source · [−]pub struct NewChannelReqPayload<'a>(_);
Expand description
NewChannelReqPayload represents the NewChannelReq LoRaWAN MACCommand.
Implementations
sourceimpl<'a> NewChannelReqPayload<'a>
impl<'a> NewChannelReqPayload<'a>
sourceimpl<'a> NewChannelReqPayload<'a>
impl<'a> NewChannelReqPayload<'a>
sourcepub fn channel_index(&self) -> u8
pub fn channel_index(&self) -> u8
The index of the channel being created or modified.
sourcepub fn data_rate_range(&self) -> DataRateRange
pub fn data_rate_range(&self) -> DataRateRange
The data rate range specifies allowed data rates for the new or modified channel.
Trait Implementations
sourceimpl<'a> Debug for NewChannelReqPayload<'a>
impl<'a> Debug for NewChannelReqPayload<'a>
sourceimpl<'a> PartialEq<NewChannelReqPayload<'a>> for NewChannelReqPayload<'a>
impl<'a> PartialEq<NewChannelReqPayload<'a>> for NewChannelReqPayload<'a>
sourcefn eq(&self, other: &NewChannelReqPayload<'a>) -> bool
fn eq(&self, other: &NewChannelReqPayload<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NewChannelReqPayload<'a>) -> bool
fn ne(&self, other: &NewChannelReqPayload<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for NewChannelReqPayload<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for NewChannelReqPayload<'a>
impl<'a> Send for NewChannelReqPayload<'a>
impl<'a> Sync for NewChannelReqPayload<'a>
impl<'a> Unpin for NewChannelReqPayload<'a>
impl<'a> UnwindSafe for NewChannelReqPayload<'a>
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