#[non_exhaustive]pub struct SolverSwitchRow {
pub index: usize,
pub source_row: Option<usize>,
pub from_bus_index: usize,
pub to_bus_index: usize,
pub closed: bool,
pub thermal_rating: Option<f64>,
pub current_rating: Option<f64>,
pub pf: Option<f64>,
pub qf: Option<f64>,
pub pt: Option<f64>,
pub qt: Option<f64>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: usize§source_row: Option<usize>§from_bus_index: usize§to_bus_index: usize§closed: bool§thermal_rating: Option<f64>§current_rating: Option<f64>§pf: Option<f64>§qf: Option<f64>§pt: Option<f64>§qt: Option<f64>Trait Implementations§
Source§impl Clone for SolverSwitchRow
impl Clone for SolverSwitchRow
Source§fn clone(&self) -> SolverSwitchRow
fn clone(&self) -> SolverSwitchRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolverSwitchRow
impl Debug for SolverSwitchRow
Source§impl<'de> Deserialize<'de> for SolverSwitchRow
impl<'de> Deserialize<'de> for SolverSwitchRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SolverSwitchRow
impl PartialEq for SolverSwitchRow
Source§impl Serialize for SolverSwitchRow
impl Serialize for SolverSwitchRow
impl StructuralPartialEq for SolverSwitchRow
Auto Trait Implementations§
impl Freeze for SolverSwitchRow
impl RefUnwindSafe for SolverSwitchRow
impl Send for SolverSwitchRow
impl Sync for SolverSwitchRow
impl Unpin for SolverSwitchRow
impl UnsafeUnpin for SolverSwitchRow
impl UnwindSafe for SolverSwitchRow
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