pub struct NetworkKey {
pub index: u16,
pub key: Key,
pub material: NetworkMaterial,
pub network_id: [u8; 8],
pub beacon_key: Key,
pub identity_key: Key,
}Expand description
A network key and what is derived from it.
Fields§
§index: u16The global key index.
key: KeyThe key.
material: NetworkMaterialNID, encryption key and privacy key (k2, master credentials).
network_id: [u8; 8]The Network ID (k3).
beacon_key: KeyThe beacon key, for secure network beacons.
identity_key: KeyThe identity key, for node identity advertising.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkKey
impl Clone for NetworkKey
Source§impl Debug for NetworkKey
impl Debug for NetworkKey
impl Eq for NetworkKey
Source§impl PartialEq for NetworkKey
impl PartialEq for NetworkKey
impl StructuralPartialEq for NetworkKey
Auto Trait Implementations§
impl Forget for NetworkKey
impl Freeze for NetworkKey
impl Move for NetworkKey
impl RefUnwindSafe for NetworkKey
impl Send for NetworkKey
impl Sync for NetworkKey
impl Unpin for NetworkKey
impl UnsafeUnpin for NetworkKey
impl UnwindSafe for NetworkKey
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