#[non_exhaustive]pub struct LinDist3FlowLineData {
pub line: String,
pub source_line_row: usize,
pub parent_nodes: Vec<usize>,
pub child_nodes: Vec<usize>,
pub reversed: bool,
pub drop: LineDropCoefficients,
pub current_limit: Vec<Option<f64>>,
pub apparent_power_limit: Vec<Option<f64>>,
}Expand description
One coupled line block in the solver-neutral network data.
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.line: String§source_line_row: usize§parent_nodes: Vec<usize>§child_nodes: Vec<usize>§reversed: bool§drop: LineDropCoefficients§current_limit: Vec<Option<f64>>Per-conductor amperes; None means unbounded.
apparent_power_limit: Vec<Option<f64>>Per-conductor VA; None means unbounded.
Trait Implementations§
Source§impl Clone for LinDist3FlowLineData
impl Clone for LinDist3FlowLineData
Source§fn clone(&self) -> LinDist3FlowLineData
fn clone(&self) -> LinDist3FlowLineData
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 moreSource§impl Debug for LinDist3FlowLineData
impl Debug for LinDist3FlowLineData
Source§impl PartialEq for LinDist3FlowLineData
impl PartialEq for LinDist3FlowLineData
Source§fn eq(&self, other: &LinDist3FlowLineData) -> bool
fn eq(&self, other: &LinDist3FlowLineData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinDist3FlowLineData
Auto Trait Implementations§
impl Freeze for LinDist3FlowLineData
impl RefUnwindSafe for LinDist3FlowLineData
impl Send for LinDist3FlowLineData
impl Sync for LinDist3FlowLineData
impl Unpin for LinDist3FlowLineData
impl UnsafeUnpin for LinDist3FlowLineData
impl UnwindSafe for LinDist3FlowLineData
Blanket Implementations§
impl<T> Allocation for T
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