Trait XmlValue

Source
pub trait XmlValue: Sized {
    // Required methods
    fn serialize(&self) -> String;
    fn deserialize(s: &str) -> Result<Self, String>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl XmlValue for bool

Source§

impl XmlValue for f32

Source§

impl XmlValue for f64

Source§

impl XmlValue for i8

Source§

impl XmlValue for i16

Source§

impl XmlValue for i32

Source§

impl XmlValue for i64

Source§

impl XmlValue for i128

Source§

impl XmlValue for isize

Source§

impl XmlValue for u8

Source§

impl XmlValue for u16

Source§

impl XmlValue for u32

Source§

impl XmlValue for u64

Source§

impl XmlValue for u128

Source§

impl XmlValue for usize

Source§

impl XmlValue for String

Source§

impl XmlValue for NonZeroI8

Source§

impl XmlValue for NonZeroI16

Source§

impl XmlValue for NonZeroI32

Source§

impl XmlValue for NonZeroI64

Source§

impl XmlValue for NonZeroI128

Source§

impl XmlValue for NonZeroIsize

Source§

impl XmlValue for NonZeroU8

Source§

impl XmlValue for NonZeroU16

Source§

impl XmlValue for NonZeroU32

Source§

impl XmlValue for NonZeroU64

Source§

impl XmlValue for NonZeroU128

Source§

impl XmlValue for NonZeroUsize

Implementors§