pub trait ToYAML: Type {
    fn to_yaml(&self) -> Option<Value>;

    fn to_yaml_string(&self) -> String { ... }
}
Expand description

Represents a type that can converted to YAML value.

Required Methods§

Convert this value to Value.

Provided Methods§

Convert this value to YAML string.

Implementations on Foreign Types§

Implementors§