pub trait YaSerialize: Sized {
    fn serialize<W: Write>(
        &self,
        writer: &mut Serializer<W>
    ) -> Result<(), String>;
fn serialize_attributes(
        &self,
        attributes: Vec<OwnedAttribute>,
        namespace: Namespace
    ) -> Result<(Vec<OwnedAttribute>, Namespace), String>; }
Expand description

A data structure that can be serialized into any data format supported by YaSerDe.

Required methods

Implementations on Foreign Types

Implementors