#[repr(C)]pub struct PioBoundaryLineGenerationView {Show 13 fields
pub voltage_regulation_on: bool,
pub minimum_active_power_mw: f64,
pub has_minimum_active_power: bool,
pub maximum_active_power_mw: f64,
pub has_maximum_active_power: bool,
pub target_active_power_mw: f64,
pub has_target_active_power: bool,
pub target_reactive_power_mvar: f64,
pub has_target_reactive_power: bool,
pub target_voltage_kv: f64,
pub has_target_voltage: bool,
pub reactive_limits: PioReactiveLimitsView,
pub has_reactive_limits: bool,
}Expand description
Optional generation attached to one PowSybl boundary line.
Fields§
§voltage_regulation_on: bool§minimum_active_power_mw: f64§has_minimum_active_power: bool§maximum_active_power_mw: f64§has_maximum_active_power: bool§target_active_power_mw: f64§has_target_active_power: bool§target_reactive_power_mvar: f64§has_target_reactive_power: bool§target_voltage_kv: f64§has_target_voltage: bool§reactive_limits: PioReactiveLimitsView§has_reactive_limits: boolTrait Implementations§
Source§impl Clone for PioBoundaryLineGenerationView
impl Clone for PioBoundaryLineGenerationView
Source§fn clone(&self) -> PioBoundaryLineGenerationView
fn clone(&self) -> PioBoundaryLineGenerationView
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 PioBoundaryLineGenerationView
Auto Trait Implementations§
impl !Send for PioBoundaryLineGenerationView
impl !Sync for PioBoundaryLineGenerationView
impl Freeze for PioBoundaryLineGenerationView
impl RefUnwindSafe for PioBoundaryLineGenerationView
impl Unpin for PioBoundaryLineGenerationView
impl UnsafeUnpin for PioBoundaryLineGenerationView
impl UnwindSafe for PioBoundaryLineGenerationView
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