redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.

use crate::models;

/// This type describes coolant.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[serde(untagged)]
pub enum Coolant {
    V1_0_0(models::cooling_loop::v1_0_0::Coolant),
}

#[allow(clippy::derivable_impls)]
impl Default for Coolant {
     fn default() -> Coolant {
        Coolant::V1_0_0(models::cooling_loop::v1_0_0::Coolant::default())
     }
}

impl crate::Metadata<'static> for Coolant {
    const JSON_SCHEMA: &'static str = "CoolingLoop.json";
}