open_configuration/
color.rs

1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4#[derive(Serialize, Deserialize, Debug, JsonSchema)]
5#[serde(rename_all = "camelCase")]
6/// Basic color value.
7/// Linear RGB (Not sRGB).
8/// Values in the range 0.0 to 1.0
9pub struct Color {
10    pub red: f64,
11
12    pub green: f64,
13
14    pub blue: f64,
15}