Backup created should default, but not skip deserializing
The skip deserializing option is appropriate for the is_gateway var
because it will change on every reboot anyways and storing to the disk is pointless.
But for the backup parameter we actually expect to read this value and have it persist
long term.
@@ -104,7 +104,7 @@ pub struct NetworkSettings {
/// Full file path for usage tracker storage
#[serde(default = "default_usage_tracker_file")]
pub usage_tracker_file: String,
- #[serde(skip_deserializing, default)]
+ #[serde(default)]
/// Set to true by the dashboard when the user indicates they've made a backup
pub backup_created: bool,
/// Determines if this device will try and shape interface speeds
