openconfiguration 1.5.0

OpenConfiguration (OC) is a modular, efficient and flexible approach for the uni-directional exchange of visual e-commerce configurations.
Documentation
use serde::{Deserialize, Serialize};

use crate::impl_visitable_noop;

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
#[cfg_attr(feature = "schema", schemars(deny_unknown_fields))]
#[serde(rename_all = "camelCase")]
/// Basic color value.
/// Linear RGB (Not sRGB).
/// Values in the range 0.0 to 1.0
pub struct Color {
    pub red: f64,

    pub green: f64,

    pub blue: f64,
}

impl_visitable_noop!(Color);