Struct gapi_grpc::google::ads::googleads::v7::errors::ResourceCountDetails[][src]

pub struct ResourceCountDetails {
    pub enclosing_id: String,
    pub enclosing_resource: String,
    pub limit: i32,
    pub limit_type: i32,
    pub existing_count: i32,
}

Error details returned when an resource count limit was exceeded.

Fields

enclosing_id: String

The ID of the resource whose limit was exceeded. External customer ID if the limit is for a customer.

enclosing_resource: String

The name of the resource (Customer, Campaign etc.) whose limit was exceeded.

limit: i32

The limit which was exceeded.

limit_type: i32

The resource limit type which was exceeded.

existing_count: i32

The count of existing entities.

Implementations

impl ResourceCountDetails[src]

pub fn limit_type(&self) -> ResourceLimitType[src]

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

pub fn set_limit_type(&mut self, value: ResourceLimitType)[src]

Sets limit_type to the provided enum value.

Trait Implementations

impl Clone for ResourceCountDetails[src]

impl Debug for ResourceCountDetails[src]

impl Default for ResourceCountDetails[src]

impl Message for ResourceCountDetails[src]

impl PartialEq<ResourceCountDetails> for ResourceCountDetails[src]

impl StructuralPartialEq for ResourceCountDetails[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceCountDetails

impl Send for ResourceCountDetails

impl Sync for ResourceCountDetails

impl Unpin for ResourceCountDetails

impl UnwindSafe for ResourceCountDetails

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]