#[repr(C)]pub struct PioActivePowerControlView {
pub participate: bool,
pub droop_percent: f64,
pub has_droop_percent: bool,
pub participation_factor: f64,
pub has_participation_factor: bool,
pub minimum_target_active_power_mw: f64,
pub has_minimum_target_active_power: bool,
pub maximum_target_active_power_mw: f64,
pub has_maximum_target_active_power: bool,
}Expand description
Governor and distributed slack settings for a generator or storage element.
Fields§
§participate: bool§droop_percent: f64§has_droop_percent: bool§participation_factor: f64§has_participation_factor: bool§minimum_target_active_power_mw: f64§has_minimum_target_active_power: bool§maximum_target_active_power_mw: f64§has_maximum_target_active_power: boolTrait Implementations§
Source§impl Clone for PioActivePowerControlView
impl Clone for PioActivePowerControlView
Source§fn clone(&self) -> PioActivePowerControlView
fn clone(&self) -> PioActivePowerControlView
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 PioActivePowerControlView
Auto Trait Implementations§
impl Freeze for PioActivePowerControlView
impl RefUnwindSafe for PioActivePowerControlView
impl Send for PioActivePowerControlView
impl Sync for PioActivePowerControlView
impl Unpin for PioActivePowerControlView
impl UnsafeUnpin for PioActivePowerControlView
impl UnwindSafe for PioActivePowerControlView
Blanket Implementations§
impl<T> Allocation for T
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