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