Trait validator::ValidateRequired
source · pub trait ValidateRequired {
// Required method
fn is_some(&self) -> bool;
// Provided method
fn validate_required(&self) -> bool { ... }
}
Expand description
Validates whether the given Option is Some