pub struct Comparison {Show 14 fields
pub bucket: String,
pub leg: Leg,
pub warnings: Vec<String>,
pub core_changed: Option<String>,
pub ybus: Option<String>,
pub ybus_unavailable: Option<String>,
pub injection: Option<String>,
pub injection_status_only: bool,
pub dc_terminal: Option<String>,
pub model_diffs: Vec<String>,
pub failure: Option<String>,
pub variant: bool,
pub unresolved_include: bool,
pub status_changed: usize,
}Expand description
Everything one leg produced, still in raw values. Stays in the work
directory; report is what sanitizes it.
Fields§
§bucket: String§leg: Leg§warnings: Vec<String>§core_changed: Option<String>§ybus: Option<String>§injection: Option<String>§injection_status_only: bool§dc_terminal: Option<String>A DC line’s terminal power moved. Its own field because HVDC is an injection no admittance matrix sees and several formats cannot state at all, so it is graded separately from AC power.
model_diffs: Vec<String>Serde paths that changed, already collapsed to their class.
failure: Option<String>§variant: boolTwo members of one bucket that are related but not the same data: a case and its derivative. Recorded so the run states what it declined to compare rather than silently dropping the pair.
unresolved_include: boolA written deck that pulls in other files, which a string readback
cannot resolve. Recorded for the same reason as variant.
status_changed: usizeElements the two sides disagree about the service status of.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
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 Comparison
impl Debug for Comparison
Source§impl<'de> Deserialize<'de> for Comparison
impl<'de> Deserialize<'de> for Comparison
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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