redfish_codegen/models/control/v1_3_0/
set_point_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SetPointType {
6    /// This value shall indicate the control utilizes a single set point for its operation.  The SetPoint property shall be present for this control type.  The SettingMin and SettingMax properties shall not be present for this control type.
7    Single,
8    /// This value shall indicate the control utilizes a set point range for its operation.  The SettingMin and SettingMax properties shall be present for this control type.  The SetPoint property shall not be present for this control type.
9    Range,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for SetPointType {
14     fn default() -> SetPointType {
15        SetPointType::Single
16     }
17}
18
19impl crate::Metadata<'static> for SetPointType {
20    const JSON_SCHEMA: &'static str = "Control.v1_3_0.json";
21}