pub fn set_quota_failure(&mut self, violations: impl Into<Vec<QuotaViolation>>) -> &mut Self {
        self.quota_failure = Some(QuotaFailure::new(violations));
        self
    }
Set [`QuotaFailure`] details. Can be chained with other `.set_` and
`.add_` [`ErrorDetails`] methods.

# Examples

```
use tonic_types::{ErrorDetails, QuotaViolation};

let mut err_details = ErrorDetails::new();

err_details.set_quota_failure(vec![
QuotaViolation::new("subject 1", "description 1"),
QuotaViolation::new("subject 2", "description 2"),
]);
```
tonic-types/src/richer_error/error_details/mod.rs