pub struct LoweringRecord {
pub pass: String,
pub input_kind: ModelKind,
pub output_kind: ModelKind,
pub options: Map<String, Value>,
pub assumptions: Vec<String>,
pub approximations: Vec<String>,
pub dropped_fields: Vec<String>,
pub diagnostics: Vec<StructuredDiagnostic>,
pub validation_status: ValidationStatus,
}Expand description
One lowering/normalization/emission pass and what it changed.
Fields§
§pass: StringA stable pass name, e.g. normalize-balanced or multiconductor-to-balanced.
input_kind: ModelKind§output_kind: ModelKind§options: Map<String, Value>§assumptions: Vec<String>Modeling assumptions the pass relied on (e.g. “balanced four-wire feeder”).
approximations: Vec<String>Approximations the pass introduced (e.g. “Kron reduction of neutral”).
dropped_fields: Vec<String>Fields/constraints dropped because the output family cannot carry them.
diagnostics: Vec<StructuredDiagnostic>§validation_status: ValidationStatusImplementations§
Trait Implementations§
Source§impl Clone for LoweringRecord
impl Clone for LoweringRecord
Source§fn clone(&self) -> LoweringRecord
fn clone(&self) -> LoweringRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 LoweringRecord
impl Debug for LoweringRecord
Source§impl<'de> Deserialize<'de> for LoweringRecord
impl<'de> Deserialize<'de> for LoweringRecord
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
Source§impl PartialEq for LoweringRecord
impl PartialEq for LoweringRecord
Source§impl Serialize for LoweringRecord
impl Serialize for LoweringRecord
impl StructuralPartialEq for LoweringRecord
Auto Trait Implementations§
impl Freeze for LoweringRecord
impl RefUnwindSafe for LoweringRecord
impl Send for LoweringRecord
impl Sync for LoweringRecord
impl Unpin for LoweringRecord
impl UnsafeUnpin for LoweringRecord
impl UnwindSafe for LoweringRecord
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