Trait 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 &str

Source§

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

Source§

impl ValidateContains for String

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 Cow<'_, T>
where T: ToOwned + ?Sized, for<'a> &'a T: ValidateContains,

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§