pub enum DvgwMessageType {
Alocat,
Nomint,
Nomres,
Ssqnot,
}Expand description
The logical DVGW message family.
Variants§
Alocat
ALOCAT — Allokationsnachricht (NB ↔ MGV ↔ BKV).
Nomint
NOMINT — Nominierung (Transportkunde → Netz-/Marktgebietsbetreiber).
Nomres
NOMRES — Nominierungsantwort / Matching-Benachrichtigung.
Ssqnot
SSQNOT — Mehr-/Mindermengenmeldung zur Führung des Netzkontos (NB → MGV).
Implementations§
Source§impl DvgwMessageType
impl DvgwMessageType
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
The DVGW message name as it appears in the Nachrichtenbeschreibung.
Sourcepub fn anwendungscode(self) -> &'static str
pub fn anwendungscode(self) -> &'static str
The UNH S009 DE 0057 value the Nachrichtenbeschreibung prescribes —
the message version for ALOCAT (5.11a), the Nachrichtentypen-Paket
for the others (DVGW17).
Sourcepub fn admitted_units(self) -> &'static [&'static str]
pub fn admitted_units(self) -> &'static [&'static str]
The QTY C186 DE 6411 units the Segmentlayout admits, the default first.
ALOCAT states rates (KW1 kWh/h, KW2 kWh/d); a nomination states a
rate or an energy (KW1, KWH); a Mehr-/Mindermengenmeldung is energy
only (KWH).
Sourcepub fn admitted_quantity_qualifiers(self) -> &'static [&'static str]
pub fn admitted_quantity_qualifiers(self) -> &'static [&'static str]
The QTY C186 DE 6063 qualifiers the Segmentlayout admits.
Sourcepub fn admitted_location_qualifiers(self) -> &'static [&'static str]
pub fn admitted_location_qualifiers(self) -> &'static [&'static str]
The LOC DE 3227 qualifiers the Segmentlayout admits.
Sourcepub fn documents(self) -> &'static [DvgwDocument]
pub fn documents(self) -> &'static [DvgwDocument]
Every document-name code that resolves to this family.
Trait Implementations§
Source§impl Clone for DvgwMessageType
impl Clone for DvgwMessageType
Source§fn clone(&self) -> DvgwMessageType
fn clone(&self) -> DvgwMessageType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more