redfish_codegen/models/cooling_loop/
coolant.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// This type describes coolant.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[serde(untagged)]
8pub enum Coolant {
9    V1_0_0(models::cooling_loop::v1_0_0::Coolant),
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for Coolant {
14     fn default() -> Coolant {
15        Coolant::V1_0_0(models::cooling_loop::v1_0_0::Coolant::default())
16     }
17}
18
19impl crate::Metadata<'static> for Coolant {
20    const JSON_SCHEMA: &'static str = "CoolingLoop.json";
21}