pub trait Contains {
fn has_element(&self, needle: &str) -> bool;
}
Expand description
Trait to implement if one wants to make the contains
validator
work for more types
pub trait Contains {
fn has_element(&self, needle: &str) -> bool;
}
Trait to implement if one wants to make the contains
validator
work for more types