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