Trait serde_helpers::SerializeYaml
[−]
[src]
pub trait SerializeYaml: Serialize { fn to_yaml_string(&self) -> Result<String, Error> { ... } fn to_yaml_vec(&self) -> Result<Vec<u8>, Error> { ... } }
Provided Methods
fn to_yaml_string(&self) -> Result<String, Error>
fn to_yaml_vec(&self) -> Result<Vec<u8>, Error>
Implementors
impl<T> SerializeYaml for T where
T: Serialize,