pub fn email(&self, email: &str) -> CredsResult<()> {
        let email = Email {
            email: email.trim(),
        };
        Ok(email.validate()?)
    }
/// Checks if input is an email
Checks if input is an email
Checks if input is an email
pub fn email(&self, email: &str) -> CredsResult<()> {
        let email = Email {
            email: email.trim(),
        };
        Ok(email.validate()?)
    }
pub fn email ( & self , email : & str ) -> CredsResult < ( ) > { let email = Email { email : email . trim ( ) , } ; Ok ( email . validate ( ) ? ) }
Checks if input is an email
Checks if input is an email
&self
email
&str
&self
email
&str