Struct quire::validate::Structure [] [src]

pub struct Structure<'a> { /* fields omitted */ }

Structure validator

In yaml terms this validates that value is a map (or a null value, if all defaults are okay).

Additionally this validator allows to parse some scalar and convert it to the structure. This feature is useful to upgrade scalar value to a structure maintaining backwards compatiblity as well as for configuring common case more easily.

Methods

impl<'a> Structure<'a>
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Validator for Structure<'a>
[src]

[src]

[src]