Enum garde::rules::email::InvalidEmail
source · pub enum InvalidEmail {
Empty,
MissingAt,
UserLengthExceeded,
InvalidUser,
DomainLengthExceeded,
InvalidDomain,
}Variants§
Trait Implementations§
source§impl Clone for InvalidEmail
impl Clone for InvalidEmail
source§fn clone(&self) -> InvalidEmail
fn clone(&self) -> InvalidEmail
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InvalidEmail
impl Debug for InvalidEmail
source§impl Display for InvalidEmail
impl Display for InvalidEmail
source§impl PartialEq<InvalidEmail> for InvalidEmail
impl PartialEq<InvalidEmail> for InvalidEmail
source§fn eq(&self, other: &InvalidEmail) -> bool
fn eq(&self, other: &InvalidEmail) -> bool
This method tests for
self and other values to be equal, and is used
by ==.