#[non_exhaustive]pub struct LinDist3FlowGeneratorData {
pub generator: String,
pub source_generator_row: usize,
pub terminal_nodes: Vec<usize>,
pub incidence: Vec<Vec<f64>>,
pub terminal_power_map: ConnectionPowerMap,
pub channels: Vec<LinDist3FlowDispatchChannel>,
}Expand description
One dispatchable generator and its terminal allocation.
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.generator: String§source_generator_row: usize§terminal_nodes: Vec<usize>§incidence: Vec<Vec<f64>>§terminal_power_map: ConnectionPowerMap§channels: Vec<LinDist3FlowDispatchChannel>Trait Implementations§
Source§impl Clone for LinDist3FlowGeneratorData
impl Clone for LinDist3FlowGeneratorData
Source§fn clone(&self) -> LinDist3FlowGeneratorData
fn clone(&self) -> LinDist3FlowGeneratorData
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 LinDist3FlowGeneratorData
impl Debug for LinDist3FlowGeneratorData
Source§impl PartialEq for LinDist3FlowGeneratorData
impl PartialEq for LinDist3FlowGeneratorData
Source§fn eq(&self, other: &LinDist3FlowGeneratorData) -> bool
fn eq(&self, other: &LinDist3FlowGeneratorData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinDist3FlowGeneratorData
Auto Trait Implementations§
impl Freeze for LinDist3FlowGeneratorData
impl RefUnwindSafe for LinDist3FlowGeneratorData
impl Send for LinDist3FlowGeneratorData
impl Sync for LinDist3FlowGeneratorData
impl Unpin for LinDist3FlowGeneratorData
impl UnsafeUnpin for LinDist3FlowGeneratorData
impl UnwindSafe for LinDist3FlowGeneratorData
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