pub struct Hysteresis {
pub custom_data: Option<CustomData>,
pub hysteresis_delay: Option<f64>,
pub hysteresis_gradient: Option<f64>,
pub hysteresis_high: Option<f64>,
pub hysteresis_low: Option<f64>,
}Fields§
§custom_data: Option<CustomData>§hysteresis_delay: Option<f64>Delay in seconds, once grid parameter within HysteresisLow and HysteresisHigh, for the EV to return to normal operation after a grid event.
hysteresis_gradient: Option<f64>Set default rate of change (ramp rate %/s) for the EV to return to normal operation after a grid event
hysteresis_high: Option<f64>High value for return to normal operation after a grid event, in absolute value. This value adopts the same unit as defined by yUnit
hysteresis_low: Option<f64>Low value for return to normal operation after a grid event, in absolute value. This value adopts the same unit as defined by yUnit
Trait Implementations§
Source§impl Clone for Hysteresis
impl Clone for Hysteresis
Source§fn clone(&self) -> Hysteresis
fn clone(&self) -> Hysteresis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Hysteresis
impl Debug for Hysteresis
Source§impl PartialEq for Hysteresis
impl PartialEq for Hysteresis
impl StructuralPartialEq for Hysteresis
Auto Trait Implementations§
impl Freeze for Hysteresis
impl RefUnwindSafe for Hysteresis
impl Send for Hysteresis
impl Sync for Hysteresis
impl Unpin for Hysteresis
impl UnsafeUnpin for Hysteresis
impl UnwindSafe for Hysteresis
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