Enum google_api_proto::google::ads::googleads::v17::resources::account_budget::AdjustedSpendingLimit
source · 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(
field: &mut Option<AdjustedSpendingLimit>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<AdjustedSpendingLimit>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
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
source§fn eq(&self, other: &AdjustedSpendingLimit) -> bool
fn eq(&self, other: &AdjustedSpendingLimit) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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