use serde::{Deserialize, Serialize};
use super::ColorStr;
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))]
#[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEq, Eq))]
pub(crate) struct BatteryStyle {
#[serde(alias = "high_battery_colour")]
pub(crate) high_battery_color: Option<ColorStr>,
#[serde(alias = "medium_battery_colour")]
pub(crate) medium_battery_color: Option<ColorStr>,
#[serde(alias = "low_battery_colour")]
pub(crate) low_battery_color: Option<ColorStr>,
}