#[non_exhaustive]pub enum RedispatchDocumentKind {
Activation,
PlannedResourceSchedule,
Acknowledgement,
Stammdaten,
StatusRequest,
Unavailability,
Kaskade,
NetworkConstraint,
Kostenblatt,
}Expand description
Domain-owned classification of a Redispatch 2.0 XML document.
Mirrors the nine XML root-element types defined by the BDEW Redispatch 2.0
schema family, but is independent of redispatch-xml — the engine
stays format-agnostic, like mako-gpke/mako-wim/mako-mabis vs.
edi-energy. The canonical conversion from a parsed
redispatch_xml::documents::DocumentType lives at the transport boundary
(makod::redispatch_xml_ingest::document_kind, exhaustive so the two
enums cannot drift).
§Non-exhaustive
New document types may be added as the BDEW schema evolves. Match with a
_ arm or use RedispatchRouter::is_registered for membership checks.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Activation
ActivationDocument (ACO/ACR/AAR).
PlannedResourceSchedule
PlannedResourceScheduleDocument.
Acknowledgement
AcknowledgementDocument.
Routed by correlation key (ReceivingDocumentIdentification), not by
document type. This variant exists for completeness and for
RedispatchRouter::is_registered guards; it must not be registered
in the type-based router.
Stammdaten
Stammdaten.
StatusRequest
StatusRequest_MarketDocument.
Unavailability_MarketDocument.
Kaskade
Kaskade.
NetworkConstraint
NetworkConstraintDocument.
Kostenblatt
Kostenblatt.
Trait Implementations§
Source§impl Clone for RedispatchDocumentKind
impl Clone for RedispatchDocumentKind
Source§fn clone(&self) -> RedispatchDocumentKind
fn clone(&self) -> RedispatchDocumentKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more