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