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

pub struct AllocateQuotaRequest {
    pub service_name: String,
    pub allocate_operation: Option<QuotaOperation>,
    pub service_config_id: String,
}

Request message for the AllocateQuota method.

Fields

service_name: String

Name of the service as specified in the service configuration. For example, "pubsub.googleapis.com".

See [google.api.Service][google.api.Service] for the definition of a service name.

allocate_operation: Option<QuotaOperation>

Operation that describes the quota allocation.

service_config_id: String

Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.

Trait Implementations

impl Clone for AllocateQuotaRequest[src]

impl Debug for AllocateQuotaRequest[src]

impl Default for AllocateQuotaRequest[src]

impl Message for AllocateQuotaRequest[src]

impl PartialEq<AllocateQuotaRequest> for AllocateQuotaRequest[src]

impl StructuralPartialEq for AllocateQuotaRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocateQuotaRequest

impl Send for AllocateQuotaRequest

impl Sync for AllocateQuotaRequest

impl Unpin for AllocateQuotaRequest

impl UnwindSafe for AllocateQuotaRequest

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]