#[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 conversion
from a parsed redispatch_xml::documents::DocumentType to this type is done
at the makod transport boundary, keeping mako-redispatch free of any
format-layer dependency.
§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