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