#[non_exhaustive]pub struct SolverHvdcRow {Show 19 fields
pub index: usize,
pub source_row: Option<usize>,
pub from_bus_index: usize,
pub to_bus_index: usize,
pub pf: f64,
pub pt: f64,
pub qf: f64,
pub qt: f64,
pub vf: f64,
pub vt: f64,
pub pmin: f64,
pub pmax: f64,
pub qminf: f64,
pub qmaxf: f64,
pub qmint: f64,
pub qmaxt: f64,
pub loss0: f64,
pub loss1: f64,
pub cost: Option<SolverCostRow>,
}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§pf: f64§pt: f64§qf: f64§qt: f64§vf: f64§vt: f64§pmin: f64§pmax: f64§qminf: f64§qmaxf: f64§qmint: f64§qmaxt: f64§loss0: f64§loss1: f64§cost: Option<SolverCostRow>Trait Implementations§
Source§impl Clone for SolverHvdcRow
impl Clone for SolverHvdcRow
Source§fn clone(&self) -> SolverHvdcRow
fn clone(&self) -> SolverHvdcRow
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 SolverHvdcRow
impl Debug for SolverHvdcRow
Source§impl<'de> Deserialize<'de> for SolverHvdcRow
impl<'de> Deserialize<'de> for SolverHvdcRow
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 SolverHvdcRow
impl PartialEq for SolverHvdcRow
Source§impl Serialize for SolverHvdcRow
impl Serialize for SolverHvdcRow
impl StructuralPartialEq for SolverHvdcRow
Auto Trait Implementations§
impl Freeze for SolverHvdcRow
impl RefUnwindSafe for SolverHvdcRow
impl Send for SolverHvdcRow
impl Sync for SolverHvdcRow
impl Unpin for SolverHvdcRow
impl UnsafeUnpin for SolverHvdcRow
impl UnwindSafe for SolverHvdcRow
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