pub struct FixedPF<const FIXED_P_F_START_TIME_CAP: usize = 1024> {
pub custom_data: Option<CustomData>,
pub displacement: f64,
pub duration: Option<f64>,
pub excitation: bool,
pub priority: i64,
pub start_time: Option<String<FIXED_P_F_START_TIME_CAP>>,
}Fields§
§custom_data: Option<CustomData>§displacement: f64Power factor, cos(phi), as value between 0..1.
duration: Option<f64>Duration in seconds that this setting is active.
excitation: boolTrue when absorbing reactive power (under-excited), false when injecting reactive power (over-excited).
priority: i64Priority of setting (0=highest)
start_time: Option<String<FIXED_P_F_START_TIME_CAP>>Time when this setting becomes active
Trait Implementations§
impl<const FIXED_P_F_START_TIME_CAP: usize> StructuralPartialEq for FixedPF<FIXED_P_F_START_TIME_CAP>
Auto Trait Implementations§
impl<const FIXED_P_F_START_TIME_CAP: usize> Freeze for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> RefUnwindSafe for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> Send for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> Sync for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> Unpin for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> UnsafeUnpin for FixedPF<FIXED_P_F_START_TIME_CAP>
impl<const FIXED_P_F_START_TIME_CAP: usize> UnwindSafe for FixedPF<FIXED_P_F_START_TIME_CAP>
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