pub enum AdjustedSpendingLimit {
AdjustedSpendingLimitMicros(i64),
AdjustedSpendingLimitType(i32),
}
Expand description
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, for example, 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§
Source§impl AdjustedSpendingLimit
impl AdjustedSpendingLimit
Sourcepub fn merge<B>(
field: &mut Option<AdjustedSpendingLimit>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<AdjustedSpendingLimit>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for AdjustedSpendingLimit
impl Clone for AdjustedSpendingLimit
Source§fn clone(&self) -> AdjustedSpendingLimit
fn clone(&self) -> AdjustedSpendingLimit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdjustedSpendingLimit
impl Debug for AdjustedSpendingLimit
Source§impl PartialEq for AdjustedSpendingLimit
impl PartialEq for AdjustedSpendingLimit
impl StructuralPartialEq for AdjustedSpendingLimit
Auto Trait Implementations§
impl Freeze for AdjustedSpendingLimit
impl RefUnwindSafe for AdjustedSpendingLimit
impl Send for AdjustedSpendingLimit
impl Sync for AdjustedSpendingLimit
impl Unpin for AdjustedSpendingLimit
impl UnwindSafe for AdjustedSpendingLimit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request