XmlSerializable

Trait XmlSerializable 

Source
pub trait XmlSerializable {
    // Required method
    fn to_xml(&self, tag_name: Option<&str>, root: bool) -> String;
}

Required Methods§

Source

fn to_xml(&self, tag_name: Option<&str>, root: bool) -> String

Implementations on Foreign Types§

Source§

impl XmlSerializable for bool

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for char

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for f32

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for f64

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for i8

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for i16

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for i32

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for i64

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for i128

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for isize

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for u8

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for u16

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for u32

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for u64

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for u128

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for usize

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl XmlSerializable for String

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl<T: XmlSerializable> XmlSerializable for Option<T>

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl<T: XmlSerializable> XmlSerializable for Vec<T>

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Source§

impl<T: XmlSerializable> XmlSerializable for HashMap<String, T>

Source§

fn to_xml(&self, tag_name: Option<&str>, _: bool) -> String

Implementors§