blob: 17998ca4c970fe8c163fb0b2400537dd1f209838 [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
/// Platform configuration options for recovery.
#[derive(Debug, Default, Deserialize, Serialize, PartialEq, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct RecoveryConfig {
/// Whether to include the factory-reset-trigger package.
#[serde(default)]
pub factory_reset_trigger: bool,
}