Skip to main content

email

Function email 

Source
pub fn email(value: &str) -> Result<(), FieldError>
Expand description

Pragmatic email check used by crate::types::Email.

Accepts a value that has exactly one @, a non-empty local part, a domain containing a ., and no whitespace. This is not a full RFC 5322 validator.