pub struct BudgetSummary {
pub external_budget_id: Option<String>,
pub pre_tax_amount_micros: Option<i64>,
pub prisma_cpe_code: Option<PrismaCpeCode>,
pub tax_amount_micros: Option<i64>,
pub total_amount_micros: Option<i64>,
}
Expand description
Summarized information of an individual campaign budget.
This type is not used in any activity, and only used as part of another schema.
Fields§
§external_budget_id: Option<String>
Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, this field will be empty.
pre_tax_amount_micros: Option<i64>
The sum of charges made under this budget before taxes, in micros of the invoice’s currency. For example, if currency_code is USD
, then 1000000 represents one US dollar.
prisma_cpe_code: Option<PrismaCpeCode>
Relevant client, product, and estimate codes from the Mediaocean Prisma tool. Only applicable for campaign budgets with an external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN.
tax_amount_micros: Option<i64>
The amount of tax applied to charges under this budget, in micros of the invoice’s currency. For example, if currency_code is USD
, then 1000000 represents one US dollar.
total_amount_micros: Option<i64>
The total sum of charges made under this budget, including tax, in micros of the invoice’s currency. For example, if currency_code is USD
, then 1000000 represents one US dollar.
Trait Implementations§
Source§impl Clone for BudgetSummary
impl Clone for BudgetSummary
Source§fn clone(&self) -> BudgetSummary
fn clone(&self) -> BudgetSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BudgetSummary
impl Debug for BudgetSummary
Source§impl Default for BudgetSummary
impl Default for BudgetSummary
Source§fn default() -> BudgetSummary
fn default() -> BudgetSummary
Source§impl<'de> Deserialize<'de> for BudgetSummary
impl<'de> Deserialize<'de> for BudgetSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for BudgetSummary
impl Serialize for BudgetSummary
impl Part for BudgetSummary
Auto Trait Implementations§
impl Freeze for BudgetSummary
impl RefUnwindSafe for BudgetSummary
impl Send for BudgetSummary
impl Sync for BudgetSummary
impl Unpin for BudgetSummary
impl UnwindSafe for BudgetSummary
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more