Module mx_envelope

Module mx_envelope 

Source

Re-exports§

pub use crate::header::AppHdr;

Structs§

MxMessage
Complete MX message containing Business Application Header and Document This is the unified structure for all ISO20022 message types The message type is determined from the AppHdr.MsgDefIdr field

Enums§

Document
Document enum - represents the Document element in MX messages Each variant uses serde rename to match the XML element name Box wrappers are used to prevent stack overflow from large variants

Functions§

get_namespace_for_message_type
Get the appropriate namespace for a message type Delegates to message_registry module
normalize_message_type
Get the short form of message type (e.g., “pacs.008”) Delegates to message_registry module
peek_message_type_from_json
Extract message type from JSON without full deserialization
peek_message_type_from_xml
Extract message type from XML without full deserialization