pub struct InitialReadings {
pub pv_ini: f32,
pub mv_ini: f32,
pub mv_range_low: f32,
pub mv_range_high: f32,
}Expand description
Initial readings the engine needs at construction time, taken once before the relay test
starts (ReadInitialOPCvalues in the legacy app).
Fields§
§pv_ini: f32§mv_ini: f32§mv_range_low: f32MV range floor (MvMSL). Zero for an uncascaded, 0-100% loop.
mv_range_high: f32MV range ceiling (MvMSH).
Trait Implementations§
Source§impl Clone for InitialReadings
impl Clone for InitialReadings
Source§fn clone(&self) -> InitialReadings
fn clone(&self) -> InitialReadings
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 moreimpl Copy for InitialReadings
Source§impl Debug for InitialReadings
impl Debug for InitialReadings
Source§impl<'de> Deserialize<'de> for InitialReadings
impl<'de> Deserialize<'de> for InitialReadings
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
Source§impl PartialEq for InitialReadings
impl PartialEq for InitialReadings
Source§fn eq(&self, other: &InitialReadings) -> bool
fn eq(&self, other: &InitialReadings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InitialReadings
impl Serialize for InitialReadings
impl StructuralPartialEq for InitialReadings
Auto Trait Implementations§
impl Freeze for InitialReadings
impl RefUnwindSafe for InitialReadings
impl Send for InitialReadings
impl Sync for InitialReadings
impl Unpin for InitialReadings
impl UnsafeUnpin for InitialReadings
impl UnwindSafe for InitialReadings
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