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

Required Methods

Implementations on Foreign Types

Implementors