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