#[repr(C)]pub struct PioBusBreakerBusView {
pub component: PioComponentIdView,
pub voltage_level: PioComponentIdView,
pub calculated_bus_id: usize,
pub has_calculated_bus: bool,
pub voltage_kv: f64,
pub has_voltage: bool,
pub angle_degrees: f64,
pub has_angle: bool,
}Expand description
One configured bus in bus breaker topology.
Fields§
§component: PioComponentIdView§voltage_level: PioComponentIdView§calculated_bus_id: usize§has_calculated_bus: bool§voltage_kv: f64§has_voltage: bool§angle_degrees: f64§has_angle: boolTrait Implementations§
Source§impl Clone for PioBusBreakerBusView
impl Clone for PioBusBreakerBusView
Source§fn clone(&self) -> PioBusBreakerBusView
fn clone(&self) -> PioBusBreakerBusView
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 PioBusBreakerBusView
Auto Trait Implementations§
impl !Send for PioBusBreakerBusView
impl !Sync for PioBusBreakerBusView
impl Freeze for PioBusBreakerBusView
impl RefUnwindSafe for PioBusBreakerBusView
impl Unpin for PioBusBreakerBusView
impl UnsafeUnpin for PioBusBreakerBusView
impl UnwindSafe for PioBusBreakerBusView
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