#[non_exhaustive]pub enum DistTargetFormat {
Dss,
BmopfJson,
PmdJson,
CimDist,
Gridlabd,
GridlabdArras,
}Expand description
A writable distribution format.
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.
Dss
BmopfJson
PmdJson
CimDist
Distribution CIM: one CIM100 RDF/XML document, or a directory of them on input.
Gridlabd
GridlabdArras
Implementations§
Source§impl DistTargetFormat
impl DistTargetFormat
Sourcepub fn name(self) -> &'static str
pub fn name(self) -> &'static str
The canonical format name, accepted
back by parse_dist_target_format.
Trait Implementations§
Source§impl Clone for DistTargetFormat
impl Clone for DistTargetFormat
impl Copy for DistTargetFormat
Source§impl Debug for DistTargetFormat
impl Debug for DistTargetFormat
impl Eq for DistTargetFormat
Source§impl FromStr for DistTargetFormat
impl FromStr for DistTargetFormat
Source§impl PartialEq for DistTargetFormat
impl PartialEq for DistTargetFormat
impl StructuralPartialEq for DistTargetFormat
Auto Trait Implementations§
impl Freeze for DistTargetFormat
impl RefUnwindSafe for DistTargetFormat
impl Send for DistTargetFormat
impl Sync for DistTargetFormat
impl Unpin for DistTargetFormat
impl UnsafeUnpin for DistTargetFormat
impl UnwindSafe for DistTargetFormat
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