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]

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl<'a> !Send for Structure<'a>

impl<'a> !Sync for Structure<'a>