#[non_exhaustive]pub struct MonitoredResolution {
pub branch_rows: BTreeSet<usize>,
pub transformer_3w_rows: BTreeSet<usize>,
pub tie_rows: BTreeSet<usize>,
pub interfaces: Vec<ResolvedInterface>,
pub voltage_ranges: Vec<ResolvedVoltageScope>,
pub voltage_deviations: Vec<ResolvedVoltageScope>,
pub unresolved: Vec<UnresolvedMonitor>,
}Expand description
What a whole monitored element set bound to. Rows are positions in the tables of the network the set was resolved against.
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.branch_rows: BTreeSet<usize>Branches monitored for flow, from every statement that names some.
transformer_3w_rows: BTreeSet<usize>Three winding transformers a 3WLOWVOLTAGE statement adds.
tie_rows: BTreeSet<usize>Branches monitored because they cross a subsystem border.
interfaces: Vec<ResolvedInterface>§voltage_ranges: Vec<ResolvedVoltageScope>§voltage_deviations: Vec<ResolvedVoltageScope>§unresolved: Vec<UnresolvedMonitor>The statements, or the branches inside them, that named nothing.
Implementations§
Source§impl MonitoredResolution
impl MonitoredResolution
Sourcepub fn diagnostics(&self) -> Vec<Diagnostic>
pub fn diagnostics(&self) -> Vec<Diagnostic>
One BUILD.MON.STATEMENT_UNRESOLVED note per unresolved entry.
Trait Implementations§
Source§impl Clone for MonitoredResolution
impl Clone for MonitoredResolution
Source§fn clone(&self) -> MonitoredResolution
fn clone(&self) -> MonitoredResolution
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 MonitoredResolution
impl Debug for MonitoredResolution
Source§impl Default for MonitoredResolution
impl Default for MonitoredResolution
Source§fn default() -> MonitoredResolution
fn default() -> MonitoredResolution
Returns the “default value” for a type. Read more
Source§impl PartialEq for MonitoredResolution
impl PartialEq for MonitoredResolution
Source§fn eq(&self, other: &MonitoredResolution) -> bool
fn eq(&self, other: &MonitoredResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MonitoredResolution
Auto Trait Implementations§
impl Freeze for MonitoredResolution
impl RefUnwindSafe for MonitoredResolution
impl Send for MonitoredResolution
impl Sync for MonitoredResolution
impl Unpin for MonitoredResolution
impl UnsafeUnpin for MonitoredResolution
impl UnwindSafe for MonitoredResolution
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