Trait Validate
Source pub trait Validate<T> {
// Required method
fn run(&self, name: &str, options: &T) -> Result;
}
Expand description
Validates named options or all options if no name is specified.
§Arguments
name - The optional name of the options to validate
options - The options to validate