Enum gapi_grpc::google::ads::googleads::v4::resources::account_budget::AdjustedSpendingLimit[][src]

pub enum AdjustedSpendingLimit {
    AdjustedSpendingLimitMicros(i64),
    AdjustedSpendingLimitType(i32),
}

The spending limit after adjustments have been applied. Adjustments are stored in total_adjustments_micros.

This value has the final say on how much the account is allowed to spend.

Variants

AdjustedSpendingLimitMicros(i64)

Output only. The adjusted spending limit in micros. One million is equivalent to one unit.

If the approved spending limit is finite, the adjusted spending limit may vary depending on the types of adjustments applied to this budget, if applicable.

The different kinds of adjustments are described here: https://support.google.com/google-ads/answer/1704323

For example, a debit adjustment reduces how much the account is allowed to spend.

AdjustedSpendingLimitType(i32)

Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.

Implementations

impl AdjustedSpendingLimit[src]

pub fn encode<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge<B>(
    field: &mut Option<AdjustedSpendingLimit>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

Trait Implementations

impl Clone for AdjustedSpendingLimit[src]

impl Debug for AdjustedSpendingLimit[src]

impl PartialEq<AdjustedSpendingLimit> for AdjustedSpendingLimit[src]

impl StructuralPartialEq for AdjustedSpendingLimit[src]

Auto Trait Implementations

impl RefUnwindSafe for AdjustedSpendingLimit

impl Send for AdjustedSpendingLimit

impl Sync for AdjustedSpendingLimit

impl Unpin for AdjustedSpendingLimit

impl UnwindSafe for AdjustedSpendingLimit

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]