#[non_exhaustive]pub enum SubsystemDispatchRule {
Participate {
include_offline: bool,
},
Scale {
quantity: ScaledQuantity,
pmax_greater_mw: Option<f64>,
include_offline: bool,
include_nonconforming: bool,
},
Baseload {
code: i64,
},
TurbineType {
code: i64,
},
Except {
words: Vec<String>,
},
}Expand description
One TARA dispatch line inside a subsystem.
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.
Participate
PARTICIPATE [INCLUDE OFFLINE].
Scale
SCALE ALL GENERATION | LOAD | FOR IMPORT | FOR EXPORT, with
WITH PMAX GREATER x MW, INCLUDE OFFLINE, and
INCLUDE NONCONFORMING when stated.
Fields
§
quantity: ScaledQuantityBaseload
BASELOAD n.
TurbineType
TURBINETYPE n.
Except
EXCEPT and the words that follow it, as written.
Trait Implementations§
Source§impl Clone for SubsystemDispatchRule
impl Clone for SubsystemDispatchRule
Source§fn clone(&self) -> SubsystemDispatchRule
fn clone(&self) -> SubsystemDispatchRule
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 SubsystemDispatchRule
impl Debug for SubsystemDispatchRule
Source§impl PartialEq for SubsystemDispatchRule
impl PartialEq for SubsystemDispatchRule
impl StructuralPartialEq for SubsystemDispatchRule
Auto Trait Implementations§
impl Freeze for SubsystemDispatchRule
impl RefUnwindSafe for SubsystemDispatchRule
impl Send for SubsystemDispatchRule
impl Sync for SubsystemDispatchRule
impl Unpin for SubsystemDispatchRule
impl UnsafeUnpin for SubsystemDispatchRule
impl UnwindSafe for SubsystemDispatchRule
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