Struct lorawan_device::AppSKey
source · pub struct AppSKey(/* private fields */);
Expand description
AppSKey should be entered in MSB format. For example, if your LNS provides a AppSKey of
00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF
, you should enter it as AppSKey([0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF])
.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AppSKey
impl<'de> Deserialize<'de> for AppSKey
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AppSKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AppSKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AppSKey
impl PartialEq for AppSKey
source§impl Serialize for AppSKey
impl Serialize for AppSKey
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for AppSKey
impl Eq for AppSKey
impl StructuralPartialEq for AppSKey
Auto Trait Implementations§
impl Freeze for AppSKey
impl RefUnwindSafe for AppSKey
impl Send for AppSKey
impl Sync for AppSKey
impl Unpin for AppSKey
impl UnwindSafe for AppSKey
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