pub fn is_invalid_password_exception(&self) -> bool {
        matches!(
            &self.kind,
            ResetPasswordErrorKind::InvalidPasswordException(_)
        )
    }
/// Returns `true` if the error kind is `ResetPasswordErrorKind::InvalidPasswordException`.
Returns `true` if the error kind is `ResetPasswordErrorKind::InvalidPasswordException`.
Returns ` true ` if the error kind is ` ResetPasswordErrorKind :: InvalidPasswordException ` .
pub fn is_invalid_password_exception(&self) -> bool {
        matches!(
            &self.kind,
            ResetPasswordErrorKind::InvalidPasswordException(_)
        )
    }
pub fn is_invalid_password_exception ( & self ) -> bool { matches ! ( self kind ResetPasswordErrorKind InvalidPasswordException ( ) ) }
Returns `true` if the error kind is `ResetPasswordErrorKind::InvalidPasswordException`.
Returns ` true ` if the error kind is ` ResetPasswordErrorKind :: InvalidPasswordException ` .
&self
&self