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

pub struct ConsumerQuotaLimit {
    pub name: String,
    pub metric: String,
    pub unit: String,
    pub is_precise: bool,
    pub allows_admin_overrides: bool,
    pub quota_buckets: Vec<QuotaBucket>,
}

Consumer quota settings for a quota limit.

Fields

name: String

The resource name of the quota limit.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.

metric: String

The name of the parent metric of this limit.

An example name would be: compute.googleapis.com/cpus

unit: String

The limit unit.

An example unit would be 1/{project}/{region} Note that {project} and {region} are not placeholders in this example; the literal characters { and } occur in the string.

is_precise: bool

Whether this limit is precise or imprecise.

allows_admin_overrides: bool

Whether admin overrides are allowed on this limit

quota_buckets: Vec<QuotaBucket>

Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).

Trait Implementations

impl Clone for ConsumerQuotaLimit[src]

impl Debug for ConsumerQuotaLimit[src]

impl Default for ConsumerQuotaLimit[src]

impl Message for ConsumerQuotaLimit[src]

impl PartialEq<ConsumerQuotaLimit> for ConsumerQuotaLimit[src]

impl StructuralPartialEq for ConsumerQuotaLimit[src]

Auto Trait Implementations

impl RefUnwindSafe for ConsumerQuotaLimit

impl Send for ConsumerQuotaLimit

impl Sync for ConsumerQuotaLimit

impl Unpin for ConsumerQuotaLimit

impl UnwindSafe for ConsumerQuotaLimit

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]