pub trait ParseFromYAML: Sized + Type {
    // Required method
    fn parse_from_yaml(value: Option<Value>) -> ParseResult<Self>;

    // Provided method
    fn parse_from_yaml_string(s: &str) -> ParseResult<Self> { ... }
}
Expand description

Represents a type that can parsing from YAML.

Required Methods§

Provided Methods§

source

fn parse_from_yaml_string(s: &str) -> ParseResult<Self>

Parse from YAML string.

Implementors§