pub struct RawDss {
pub circuit_name: Option<String>,
pub objects: Vec<RawObject>,
pub options: Vec<(String, Value)>,
pub commands: Vec<RawCommand>,
pub buscoords: Vec<BusCoord>,
pub vars: VarMap,
pub warnings: Vec<String>,
pub diagnostics: Vec<StructuredDiagnostic>,
/* private fields */
}Expand description
The executed script: objects, options, and preserved commands.
Fields§
§circuit_name: Option<String>§objects: Vec<RawObject>§options: Vec<(String, Value)>Set option=value assignments in order.
commands: Vec<RawCommand>Commands preserved without execution (solve, calcvoltagebases, …).
buscoords: Vec<BusCoord>§vars: VarMap§warnings: Vec<String>§diagnostics: Vec<StructuredDiagnostic>Structured findings beside warnings; an Error entry marks an
incomplete parse the CLI must not exit 0 on.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawDss
impl RefUnwindSafe for RawDss
impl Send for RawDss
impl Sync for RawDss
impl Unpin for RawDss
impl UnsafeUnpin for RawDss
impl UnwindSafe for RawDss
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