Struct gapi_grpc::google::ads::googleads::v5::errors::QuotaErrorDetails[][src]

pub struct QuotaErrorDetails {
    pub rate_scope: i32,
    pub rate_name: String,
    pub retry_delay: Option<Duration>,
}

Additional quota error details when there is QuotaError.

Fields

rate_scope: i32

The rate scope of the quota limit.

rate_name: String

The high level description of the quota bucket. Examples are “Get requests for standard access” or “Requests per account”.

retry_delay: Option<Duration>

Backoff period that customers should wait before sending next request.

Implementations

impl QuotaErrorDetails[src]

pub fn rate_scope(&self) -> QuotaRateScope[src]

Returns the enum value of rate_scope, or the default if the field is set to an invalid enum value.

pub fn set_rate_scope(&mut self, value: QuotaRateScope)[src]

Sets rate_scope to the provided enum value.

Trait Implementations

impl Clone for QuotaErrorDetails[src]

impl Debug for QuotaErrorDetails[src]

impl Default for QuotaErrorDetails[src]

impl Message for QuotaErrorDetails[src]

impl PartialEq<QuotaErrorDetails> for QuotaErrorDetails[src]

impl StructuralPartialEq for QuotaErrorDetails[src]

Auto Trait Implementations

impl RefUnwindSafe for QuotaErrorDetails

impl Send for QuotaErrorDetails

impl Sync for QuotaErrorDetails

impl Unpin for QuotaErrorDetails

impl UnwindSafe for QuotaErrorDetails

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]