Skip to main content

XmlSerializable

Trait XmlSerializable 

Source
pub trait XmlSerializable: Sealed {
    // Required method
    fn to_xml(&self) -> String;
}
Expand description

Types that can serialize themselves to NF-e XML fragments.

This trait is sealed — only types within this crate can implement it.

Required Methods§

Source

fn to_xml(&self) -> String

Serialize to an XML string fragment.

Implementors§