Trait validator::Contains [−][src]
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
fn has_element(&self, needle: &str) -> bool