#[non_exhaustive]pub struct LinDist3FlowSourceData {
pub source: String,
pub source_source_row: usize,
pub terminal_nodes: Vec<usize>,
pub active_objective_coefficient: Vec<f64>,
}Expand description
One voltage source. Its channel powers inject directly at corresponding
terminals; the squared voltages are fixed in LinDist3FlowNetworkData.
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.source: String§source_source_row: usize§terminal_nodes: Vec<usize>§active_objective_coefficient: Vec<f64>Trait Implementations§
Source§impl Clone for LinDist3FlowSourceData
impl Clone for LinDist3FlowSourceData
Source§fn clone(&self) -> LinDist3FlowSourceData
fn clone(&self) -> LinDist3FlowSourceData
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 LinDist3FlowSourceData
impl Debug for LinDist3FlowSourceData
Source§impl PartialEq for LinDist3FlowSourceData
impl PartialEq for LinDist3FlowSourceData
Source§fn eq(&self, other: &LinDist3FlowSourceData) -> bool
fn eq(&self, other: &LinDist3FlowSourceData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinDist3FlowSourceData
Auto Trait Implementations§
impl Freeze for LinDist3FlowSourceData
impl RefUnwindSafe for LinDist3FlowSourceData
impl Send for LinDist3FlowSourceData
impl Sync for LinDist3FlowSourceData
impl Unpin for LinDist3FlowSourceData
impl UnsafeUnpin for LinDist3FlowSourceData
impl UnwindSafe for LinDist3FlowSourceData
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