Struct quire::validate::Scalar[][src]

pub struct Scalar { /* fields omitted */ }

Scalar YAML value

This may be different kind of value:

  • string
  • bool
  • path
  • number

But some of the scalars might have better validators, for example Numeric has minimum and maximum value as well as decodes human-friendly unit values

Methods

impl Scalar
[src]

Trait Implementations

impl Debug for Scalar
[src]

Formats the value using the given formatter. Read more

impl Validator for Scalar
[src]

Auto Trait Implementations

impl Send for Scalar

impl Sync for Scalar