Trait validator::ValidateContains

source ·
pub trait ValidateContains {
    // Required method
    fn validate_contains(&self, needle: &str) -> bool;
}

Required Methods§

source

fn validate_contains(&self, needle: &str) -> bool

Implementations on Foreign Types§

source§

impl ValidateContains for String

source§

fn validate_contains(&self, needle: &str) -> bool

source§

impl<'a> ValidateContains for &'a str

source§

fn validate_contains(&self, needle: &str) -> bool

source§

impl<'cow, T> ValidateContains for Cow<'cow, T>
where T: ToOwned + ?Sized, for<'a> &'a T: ValidateContains,

source§

fn validate_contains(&self, needle: &str) -> bool

source§

impl<S, H: BuildHasher> ValidateContains for HashMap<String, S, H>

source§

fn validate_contains(&self, needle: &str) -> bool

source§

impl<T> ValidateContains for Option<T>

source§

fn validate_contains(&self, needle: &str) -> bool

source§

impl<T> ValidateContains for &T

source§

fn validate_contains(&self, needle: &str) -> bool

Implementors§