pub fn check_password(&self, password: &str) -> bool {
        if let Some(valid) = self.check_password_full(password) {
            valid
        } else {
            false
        }
    }
/// Checks whether the password is the person's password. If the
/// person has no password, returns false for any parameter value.
Checks whether the password is the person's password. If the
person has no password, returns false for any parameter value.
Checks whether the password is the person ' s password . If the person has no password returns false for any parameter value .
pub fn check_password(&self, password: &str) -> bool {
        if let Some(valid) = self.check_password_full(password) {
            valid
        } else {
            false
        }
    }
pub fn check_password ( & self , password : & str ) -> bool { if let Some ( valid ) = self . check_password_full ( password ) { valid } else { false } }
Checks whether the password is the person's password.
Checks whether the password is the person ' s password .
&self
password
&str
&self
password
&str