pub struct Backup {
pub metadata: Metadata,
pub stack_specific: Option<StackSpecific>,
pub coordinator_ieee: Ieee,
pub pan_id: PanId,
pub extended_pan_id: ExtPanId,
pub nwk_update_id: u8,
pub security_level: u8,
pub channel: u8,
pub channel_mask: Vec<u8>,
pub network_key: NetworkKey,
pub devices: Vec<BackupDevice>,
}Expand description
A network backup.
Fields§
§metadata: MetadataFormat, version and producer.
stack_specific: Option<StackSpecific>Stack-specific data needed to restore onto the same NCP family.
coordinator_ieee: IeeeThe coordinator’s IEEE address.
pan_id: PanIdPAN id, as four hex digits.
extended_pan_id: ExtPanIdExtended PAN id.
nwk_update_id: u8Network update id.
security_level: u8Security level (5).
channel: u8Channel.
channel_mask: Vec<u8>Channels the network may use.
network_key: NetworkKeyThe network key.
devices: Vec<BackupDevice>Devices and their link keys.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Backup
impl<'de> Deserialize<'de> for Backup
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
impl Eq for Backup
impl StructuralPartialEq for Backup
Auto Trait Implementations§
impl Freeze for Backup
impl RefUnwindSafe for Backup
impl Send for Backup
impl Sync for Backup
impl Unpin for Backup
impl UnsafeUnpin for Backup
impl UnwindSafe for Backup
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