pub fn with_quota_failure_violation(
        subject: impl Into<String>,
        description: impl Into<String>,
    ) -> Self {
        ErrorDetails {
            quota_failure: Some(QuotaFailure::with_violation(subject, description)),
            ..ErrorDetails::new()
        }
    }
Generates an [`ErrorDetails`] struct with [`QuotaFailure`] details (one
[`QuotaViolation`] set) and remaining fields set to `None`.

# Examples

```
use tonic_types::ErrorDetails;

let err_details = ErrorDetails::with_quota_failure_violation("subject", "description");
```
tonic-types/src/richer_error/error_details/mod.rs