#[non_exhaustive]pub struct NormalizedSolverTableMetadata {
pub pass: String,
pub units: SolverTableUnits,
pub row_counts: NormalizedSolverTableRowCounts,
pub bus_ids: Vec<BusId>,
pub reference_bus_indices: Vec<usize>,
pub component_labels: Vec<usize>,
pub branch_from_arc_indices: Vec<usize>,
pub branch_to_arc_indices: Vec<usize>,
pub source_rows: NormalizedSolverTableSourceRows,
}Expand description
Compact package metadata for Network::to_normalized_solver_tables.
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.pass: String§units: SolverTableUnits§row_counts: NormalizedSolverTableRowCounts§bus_ids: Vec<BusId>§reference_bus_indices: Vec<usize>§component_labels: Vec<usize>§branch_from_arc_indices: Vec<usize>§branch_to_arc_indices: Vec<usize>§source_rows: NormalizedSolverTableSourceRowsTrait Implementations§
Source§impl Clone for NormalizedSolverTableMetadata
impl Clone for NormalizedSolverTableMetadata
Source§fn clone(&self) -> NormalizedSolverTableMetadata
fn clone(&self) -> NormalizedSolverTableMetadata
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<'de> Deserialize<'de> for NormalizedSolverTableMetadata
impl<'de> Deserialize<'de> for NormalizedSolverTableMetadata
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 From<&NormalizedSolverTables> for NormalizedSolverTableMetadata
impl From<&NormalizedSolverTables> for NormalizedSolverTableMetadata
Source§fn from(tables: &NormalizedSolverTables) -> Self
fn from(tables: &NormalizedSolverTables) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NormalizedSolverTableMetadata
impl PartialEq for NormalizedSolverTableMetadata
Source§fn eq(&self, other: &NormalizedSolverTableMetadata) -> bool
fn eq(&self, other: &NormalizedSolverTableMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NormalizedSolverTableMetadata
Auto Trait Implementations§
impl Freeze for NormalizedSolverTableMetadata
impl RefUnwindSafe for NormalizedSolverTableMetadata
impl Send for NormalizedSolverTableMetadata
impl Sync for NormalizedSolverTableMetadata
impl Unpin for NormalizedSolverTableMetadata
impl UnsafeUnpin for NormalizedSolverTableMetadata
impl UnwindSafe for NormalizedSolverTableMetadata
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