Struct gapi_grpc::google::api::serviceusage::v1beta1::QuotaBucket[][src]

pub struct QuotaBucket {
    pub effective_limit: i64,
    pub default_limit: i64,
    pub producer_override: Option<QuotaOverride>,
    pub consumer_override: Option<QuotaOverride>,
    pub admin_override: Option<QuotaOverride>,
    pub dimensions: HashMap<String, String>,
}

A quota bucket is a quota provisioning unit for a specific set of dimensions.

Fields

effective_limit: i64

The effective limit of this quota bucket. Equal to default_limit if there are no overrides.

default_limit: i64

The default limit of this quota bucket, as specified by the service configuration.

producer_override: Option<QuotaOverride>

Producer override on this quota bucket.

consumer_override: Option<QuotaOverride>

Consumer override on this quota bucket.

admin_override: Option<QuotaOverride>

Admin override on this quota bucket.

dimensions: HashMap<String, String>

The dimensions of this quota bucket.

If this map is empty, this is the global bucket, which is the default quota value applied to all requests that do not have a more specific override.

If this map is nonempty, the default limit, effective limit, and quota overrides apply only to requests that have the dimensions given in the map.

For example, if the map has key region and value us-east-1, then the specified effective limit is only effective in that region, and the specified overrides apply only in that region.

Trait Implementations

impl Clone for QuotaBucket[src]

impl Debug for QuotaBucket[src]

impl Default for QuotaBucket[src]

impl Message for QuotaBucket[src]

impl PartialEq<QuotaBucket> for QuotaBucket[src]

impl StructuralPartialEq for QuotaBucket[src]

Auto Trait Implementations

impl RefUnwindSafe for QuotaBucket

impl Send for QuotaBucket

impl Sync for QuotaBucket

impl Unpin for QuotaBucket

impl UnwindSafe for QuotaBucket

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]