pub trait ToXml { // Required method fn to_xml(&self) -> String; }
Convert the struct to an XML string.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".