[−][src]Trait yaserde::YaSerialize
A data structure that can be serialized into any data format supported by YaSerDe.
Required methods
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>
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Implementations on Foreign Types
impl YaSerialize for bool
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for char
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for usize
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for u8
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for u16
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for u32
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for u64
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for isize
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for i8
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for i16
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for i32
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for i64
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for f32
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl YaSerialize for f64
[src]
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>