pub struct DERCurve {
pub curve_data: Vec<DERCurvePoints>,
pub hysteresis: Option<Hysteresis>,
pub priority: i64,
pub reactive_power_params: Option<ReactivePowerParams>,
pub voltage_params: Option<VoltageParams>,
pub y_unit: DERUnitEnum,
pub response_time: Option<f64>,
pub start_time: Option<DateTime>,
pub duration: Option<f64>,
pub custom_data: Option<CustomData>,
}Fields§
§curve_data: Vec<DERCurvePoints>§hysteresis: Option<Hysteresis>§priority: i64Priority of curve (0=highest)
reactive_power_params: Option<ReactivePowerParams>§voltage_params: Option<VoltageParams>§y_unit: DERUnitEnum§response_time: Option<f64>Open loop response time, the time to ramp up to 90% of the new target in response to the change in voltage, in seconds. A value of 0 is used to mean no limit. When not present, the device should follow its default behavior.
start_time: Option<DateTime>Point in time when this curve will become activated. Only absent when default is true.
duration: Option<f64>Duration in seconds that this curve will be active. Only absent when default is true.
custom_data: Option<CustomData>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DERCurve
impl<'de> Deserialize<'de> for DERCurve
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DERCurve
Auto Trait Implementations§
impl Freeze for DERCurve
impl RefUnwindSafe for DERCurve
impl Send for DERCurve
impl Sync for DERCurve
impl Unpin for DERCurve
impl UnsafeUnpin for DERCurve
impl UnwindSafe for DERCurve
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more