Struct gapi_grpc::google::api::servicecontrol::v1::AllocateQuotaResponse[][src]

pub struct AllocateQuotaResponse {
    pub operation_id: String,
    pub allocate_errors: Vec<QuotaError>,
    pub quota_metrics: Vec<MetricValueSet>,
    pub service_config_id: String,
}

Response message for the AllocateQuota method.

Fields

operation_id: String

The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

allocate_errors: Vec<QuotaError>

Indicates the decision of the allocate.

quota_metrics: Vec<MetricValueSet>

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : “serviceruntime.googleapis.com/api/consumer/quota_used_count”

  2. The quota limit reached condition will be specified using the following boolean metric : “serviceruntime.googleapis.com/quota/exceeded”

service_config_id: String

ID of the actual config used to process the request.

Trait Implementations

impl Clone for AllocateQuotaResponse[src]

impl Debug for AllocateQuotaResponse[src]

impl Default for AllocateQuotaResponse[src]

impl Message for AllocateQuotaResponse[src]

impl PartialEq<AllocateQuotaResponse> for AllocateQuotaResponse[src]

impl StructuralPartialEq for AllocateQuotaResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocateQuotaResponse

impl Send for AllocateQuotaResponse

impl Sync for AllocateQuotaResponse

impl Unpin for AllocateQuotaResponse

impl UnwindSafe for AllocateQuotaResponse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]