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