#[non_exhaustive]pub enum TransmissionDemand {
Additional,
ReplaceLoads(Vec<String>),
}Expand description
How the feeder’s computed demand enters the transmission balance.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Additional
Additional demand, with every existing transmission load retained.
ReplaceLoads(Vec<String>)
Substitute feeder demand for these transmission load UIDs in coupled equations. The component modules retain the original load records.
Trait Implementations§
Source§impl Clone for TransmissionDemand
impl Clone for TransmissionDemand
Source§fn clone(&self) -> TransmissionDemand
fn clone(&self) -> TransmissionDemand
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 TransmissionDemand
impl Debug for TransmissionDemand
impl Eq for TransmissionDemand
Source§impl PartialEq for TransmissionDemand
impl PartialEq for TransmissionDemand
impl StructuralPartialEq for TransmissionDemand
Auto Trait Implementations§
impl Freeze for TransmissionDemand
impl RefUnwindSafe for TransmissionDemand
impl Send for TransmissionDemand
impl Sync for TransmissionDemand
impl Unpin for TransmissionDemand
impl UnsafeUnpin for TransmissionDemand
impl UnwindSafe for TransmissionDemand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more