Skip to main content

parse

Function parse 

Source
pub fn parse(xml: &str) -> Result<Report, Error>
Expand description

Parse a DMARC aggregate report from an XML string.

ยงErrors

Returns Error::Parse if the XML is invalid or does not conform to the DMARC aggregate report schema (RFC 7489 Appendix C).