pub struct InjectionChange {
pub bus: usize,
pub quantity: Injection,
pub before: f64,
pub after: f64,
pub status_only: bool,
}Expand description
A per-bus injection that moved across a conversion.
Fields§
§bus: usize§quantity: Injection§before: f64§after: f64§status_only: boolWhether the per-bus totals over every element agree while the in-service totals do not.
That is weaker than “only the statuses differ”: the tallies are per bus, so two changes at one bus that cancel — an idle load switched on while a live one of the same size is switched off — also satisfy it. Read it as “the numbers in the file are unchanged”, which is what it checks, and not as a promise about which elements moved.
Trait Implementations§
Source§impl Clone for InjectionChange
impl Clone for InjectionChange
Source§impl Debug for InjectionChange
impl Debug for InjectionChange
Source§impl Display for InjectionChange
impl Display for InjectionChange
Source§impl PartialEq for InjectionChange
impl PartialEq for InjectionChange
impl StructuralPartialEq for InjectionChange
Auto Trait Implementations§
impl Freeze for InjectionChange
impl RefUnwindSafe for InjectionChange
impl Send for InjectionChange
impl Sync for InjectionChange
impl Unpin for InjectionChange
impl UnsafeUnpin for InjectionChange
impl UnwindSafe for InjectionChange
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