#[non_exhaustive]pub struct GridfmRead {
pub network: Network,
pub scenario: i64,
pub warnings: Vec<String>,
}Expand description
One scenario read out of a gridfm dataset: the reconstructed Network plus
the fidelity warnings the lossy read couldn’t avoid (mirroring
Conversion::warnings).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.network: NetworkThe reconstructed network (source_format = SourceFormat::Gridfm).
scenario: i64The scenario id these rows came from.
warnings: Vec<String>What the gridfm schema couldn’t round-trip — synthesized bus ids, folded per-bus load/shunt, dropped HVDC/storage, etc.
Trait Implementations§
Source§impl Clone for GridfmRead
impl Clone for GridfmRead
Source§fn clone(&self) -> GridfmRead
fn clone(&self) -> GridfmRead
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 moreAuto Trait Implementations§
impl Freeze for GridfmRead
impl RefUnwindSafe for GridfmRead
impl Send for GridfmRead
impl Sync for GridfmRead
impl Unpin for GridfmRead
impl UnsafeUnpin for GridfmRead
impl UnwindSafe for GridfmRead
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