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