pub struct JoinRequest {
pub join_eui: AppEui,
pub dev_eui: DevEui,
pub dev_nonce: DevNonce,
}Expand description
Fields of an OTAA Join Request.
Returned by LoraPacket::from_wire when the MHDR indicates
MType::JoinRequest; the MIC is verified separately with
LoraPacket::verify_mic_v1_0 (using AppKey) or
LoraPacket::verify_mic_v1_1 (using NwkKey).
Fields§
§join_eui: AppEuiJoin EUI (AppEUI in 1.0 nomenclature, JoinEUI in 1.1).
dev_eui: DevEuiDevice EUI (IEEE EUI-64).
dev_nonce: DevNonceDevice-generated random nonce; must not repeat per the spec.
Trait Implementations§
Source§impl Clone for JoinRequest
impl Clone for JoinRequest
Source§fn clone(&self) -> JoinRequest
fn clone(&self) -> JoinRequest
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 moreSource§impl Debug for JoinRequest
impl Debug for JoinRequest
Source§impl<'de> Deserialize<'de> for JoinRequest
impl<'de> Deserialize<'de> for JoinRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JoinRequest
impl PartialEq for JoinRequest
Source§fn eq(&self, other: &JoinRequest) -> bool
fn eq(&self, other: &JoinRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JoinRequest
impl Serialize for JoinRequest
impl Eq for JoinRequest
impl StructuralPartialEq for JoinRequest
Auto Trait Implementations§
impl Freeze for JoinRequest
impl RefUnwindSafe for JoinRequest
impl Send for JoinRequest
impl Sync for JoinRequest
impl Unpin for JoinRequest
impl UnsafeUnpin for JoinRequest
impl UnwindSafe for JoinRequest
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