validate

Macro validate 

Source
macro_rules! validate {
    ($value:tt) => { ... };
}
Expand description

Validate any value if it implements the Validator trait. If the value does not implement the Validator trait, it will return Ok(()).