to_mx_xml

Function to_mx_xml 

Source
pub fn to_mx_xml<H, D>(
    message: D,
    header: H,
    message_type: &str,
    config: Option<XmlConfig>,
) -> Result<String, XmlError>
where H: Serialize, D: Serialize,
Expand description

Serialize any MX message to complete XML with envelope