[][src]Function validator::validate_email

#[must_use]pub fn validate_email<'a, T>(val: T) -> bool where
    T: Into<Cow<'a, str>>, 

Validates whether the given string is an email based on Django EmailValidator and HTML5 specs