#[non_exhaustive]pub enum TargetFormat {
PowerModelsJson,
EgretJson,
Psse,
PowerWorld,
PandapowerJson,
Matpower,
}Expand description
A target interchange format. See write_as.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PowerModelsJson
PowerModels.jl network data JSON.
EgretJson
egret ModelData JSON.
Psse
PSS/E .raw (v33).
PowerWorld
PowerWorld auxiliary .aux.
PandapowerJson
pandapower pandapowerNet JSON.
Matpower
MATPOWER .m (round-trip; byte-exact when the case kept its source).
Implementations§
Trait Implementations§
Source§impl Clone for TargetFormat
impl Clone for TargetFormat
Source§fn clone(&self) -> TargetFormat
fn clone(&self) -> TargetFormat
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 TargetFormat
impl Debug for TargetFormat
Source§impl Display for TargetFormat
impl Display for TargetFormat
Source§impl FromStr for TargetFormat
impl FromStr for TargetFormat
Source§impl PartialEq for TargetFormat
impl PartialEq for TargetFormat
impl Copy for TargetFormat
impl Eq for TargetFormat
impl StructuralPartialEq for TargetFormat
Auto Trait Implementations§
impl Freeze for TargetFormat
impl RefUnwindSafe for TargetFormat
impl Send for TargetFormat
impl Sync for TargetFormat
impl Unpin for TargetFormat
impl UnsafeUnpin for TargetFormat
impl UnwindSafe for TargetFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more