#[repr(C)]pub struct PamojaLorawanGrant {
pub app_nonce: u32,
pub net_id: u32,
pub dev_addr: u32,
pub dl_settings: u8,
pub rx_delay: u8,
}Expand description
What a network grants a device that joined.
Every field is a scalar, so this crosses the boundary by value. The optional channel list is passed alongside it, since it is bytes rather than a scalar.
Fields§
§app_nonce: u32A nonce this network must not reuse for the device; low 24 bits only.
net_id: u32The network identifier; low 24 bits only.
dev_addr: u32The address to assign the device.
dl_settings: u8The downlink settings byte.
rx_delay: u8The delay before the first receive window, in seconds.
Trait Implementations§
Source§impl Clone for PamojaLorawanGrant
impl Clone for PamojaLorawanGrant
Source§fn clone(&self) -> PamojaLorawanGrant
fn clone(&self) -> PamojaLorawanGrant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaLorawanGrant
Source§impl Debug for PamojaLorawanGrant
impl Debug for PamojaLorawanGrant
impl Eq for PamojaLorawanGrant
Source§impl PartialEq for PamojaLorawanGrant
impl PartialEq for PamojaLorawanGrant
Source§fn eq(&self, other: &PamojaLorawanGrant) -> bool
fn eq(&self, other: &PamojaLorawanGrant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaLorawanGrant
Auto Trait Implementations§
impl Freeze for PamojaLorawanGrant
impl RefUnwindSafe for PamojaLorawanGrant
impl Send for PamojaLorawanGrant
impl Sync for PamojaLorawanGrant
impl Unpin for PamojaLorawanGrant
impl UnsafeUnpin for PamojaLorawanGrant
impl UnwindSafe for PamojaLorawanGrant
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