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 different_case_data: 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>§different_case_data: boolTwo members of one bucket describe related cases but contain different limits or other declared case data.
unresolved_include: boolA written deck that pulls in other files, which a string readback
cannot resolve. Recorded for the same reason as
different_case_data.
status_changed: usizeElements the two sides disagree about the service status of.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§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