#[non_exhaustive]pub enum MessageType {
Show 17 variants
Utilmd,
Mscons,
Aperak,
Contrl,
Invoic,
Remadv,
Orders,
Iftsta,
Insrpt,
Reqote,
Partin,
Ordchg,
Ordrsp,
Quotes,
Comdis,
Pricat,
Utilts,
}Expand description
EDIFACT message type codes used in the German energy market (EDI@Energy).
All variants are always present regardless of enabled features; feature gates control which concrete message structs and profile data are compiled in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Utilmd
UTILMD — Utilities Master Data.
BDEW message for grid-connection processes (switchover, registration, etc.).
Mscons
MSCONS — Metered Services Consumption Report.
Meter value transmission between grid operator and balance-group manager.
Aperak
APERAK — Application Error and Acknowledgement.
Technical rejection or acknowledgement of a previously received message.
Contrl
CONTRL — Interchange Control Structure.
Syntax acknowledgement at interchange level.
Invoic
INVOIC — Invoice.
Remadv
REMADV — Remittance Advice.
Orders
ORDERS — Purchase Order.
Iftsta
IFTSTA — International Multimodal Status Report Message.
Insrpt
INSRPT — Inspection Report.
Reqote
REQOTE — Request for Quotation.
Partin
PARTIN — Party Information.
Ordchg
ORDCHG — Purchase Order Change.
Ordrsp
ORDRSP — Purchase Order Response.
Quotes
QUOTES — Quotation.
Comdis
COMDIS — Commercial Dispute (Handelsunstimmigkeit).
Pricat
PRICAT — Price/Sales Catalogue (Preisliste).
Utilts
UTILTS — Übertragung technischer Stammdaten (Technical Master Data).
Implementations§
Source§impl MessageType
impl MessageType
Source§impl MessageType
impl MessageType
Sourcepub fn is_feature_enabled(self) -> bool
pub fn is_feature_enabled(self) -> bool
Returns true when the Cargo feature for this message type is compiled in.
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MessageType
Source§impl Debug for MessageType
impl Debug for MessageType
Source§impl Display for MessageType
impl Display for MessageType
impl Eq for MessageType
Source§impl Hash for MessageType
impl Hash for MessageType
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnsafeUnpin for MessageType
impl UnwindSafe for MessageType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more