#[non_exhaustive]pub struct IslandReferenceReport {
pub partition: IslandPartition,
pub designated: Vec<BusId>,
pub demoted: Vec<BusId>,
pub de_energized: Vec<BusId>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The result of BalancedNetwork::assign_island_references.
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.partition: IslandPartitionThe islands after the assignment.
designated: Vec<BusId>Buses made the reference of their island.
demoted: Vec<BusId>Reference buses demoted, because they host no in-service generator or because their island kept another, in ascending id order.
de_energized: Vec<BusId>Buses of the islands that were de-energized, now typed isolated.
diagnostics: Vec<Diagnostic>One finding per island the assignment changed.
Trait Implementations§
Source§impl Clone for IslandReferenceReport
impl Clone for IslandReferenceReport
Source§fn clone(&self) -> IslandReferenceReport
fn clone(&self) -> IslandReferenceReport
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 IslandReferenceReport
impl Debug for IslandReferenceReport
Source§impl Default for IslandReferenceReport
impl Default for IslandReferenceReport
Source§fn default() -> IslandReferenceReport
fn default() -> IslandReferenceReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for IslandReferenceReport
impl PartialEq for IslandReferenceReport
impl StructuralPartialEq for IslandReferenceReport
Auto Trait Implementations§
impl Freeze for IslandReferenceReport
impl RefUnwindSafe for IslandReferenceReport
impl Send for IslandReferenceReport
impl Sync for IslandReferenceReport
impl Unpin for IslandReferenceReport
impl UnsafeUnpin for IslandReferenceReport
impl UnwindSafe for IslandReferenceReport
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