redfish_codegen/models/control/v1_3_0/
control_loop.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The details and coefficients used to operate a control loop.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct ControlLoop {
9    /// The date and time that the control loop coefficients were changed.
10    #[serde(rename = "CoefficientUpdateTime")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub coefficient_update_time: Option<String>,
13    /// The differential coefficient.
14    #[serde(rename = "Differential")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub differential: Option<f64>,
17    /// The integral coefficient.
18    #[serde(rename = "Integral")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub integral: Option<f64>,
21    /// The proportional coefficient.
22    #[serde(rename = "Proportional")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub proportional: Option<f64>,
25}
26
27impl crate::Metadata<'static> for ControlLoop {
28    const JSON_SCHEMA: &'static str = "Control.v1_3_0.json";
29}