use serde::{Deserialize, Serialize};
use super::ColourStr;
#[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 MemoryStyle {
#[serde(alias = "ram_color")]
pub(crate) ram_colour: Option<ColourStr>,
#[cfg_attr(target_os = "windows", allow(dead_code))]
#[serde(alias = "cache_color")]
pub(crate) cache_colour: Option<ColourStr>,
#[serde(alias = "swap_color")]
pub(crate) swap_colour: Option<ColourStr>,
#[serde(alias = "arc_color")]
pub(crate) arc_colour: Option<ColourStr>,
#[serde(alias = "gpu_colors")]
pub(crate) gpu_colours: Option<Vec<ColourStr>>,
}