Function validator::validate_email[][src]

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