#[repr(C)]pub struct PioBalancedSwitchView {Show 17 fields
pub component_id: PioStringView,
pub has_component_id: bool,
pub from_bus_id: usize,
pub to_bus_id: usize,
pub closed: bool,
pub thermal_rating_mva: f64,
pub has_thermal_rating: bool,
pub current_rating_a: f64,
pub has_current_rating: bool,
pub from_active_power_mw: f64,
pub has_from_active_power: bool,
pub from_reactive_power_mvar: f64,
pub has_from_reactive_power: bool,
pub to_active_power_mw: f64,
pub has_to_active_power: bool,
pub to_reactive_power_mvar: f64,
pub has_to_reactive_power: bool,
}Expand description
One balanced transmission switch.
Fields§
§component_id: PioStringView§has_component_id: bool§from_bus_id: usize§to_bus_id: usize§closed: bool§thermal_rating_mva: f64§has_thermal_rating: bool§current_rating_a: f64§has_current_rating: bool§from_active_power_mw: f64§has_from_active_power: bool§from_reactive_power_mvar: f64§has_from_reactive_power: bool§to_active_power_mw: f64§has_to_active_power: bool§to_reactive_power_mvar: f64§has_to_reactive_power: boolTrait Implementations§
Source§impl Clone for PioBalancedSwitchView
impl Clone for PioBalancedSwitchView
Source§fn clone(&self) -> PioBalancedSwitchView
fn clone(&self) -> PioBalancedSwitchView
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 PioBalancedSwitchView
Auto Trait Implementations§
impl !Send for PioBalancedSwitchView
impl !Sync for PioBalancedSwitchView
impl Freeze for PioBalancedSwitchView
impl RefUnwindSafe for PioBalancedSwitchView
impl Unpin for PioBalancedSwitchView
impl UnsafeUnpin for PioBalancedSwitchView
impl UnwindSafe for PioBalancedSwitchView
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