pub struct AccountBudgetSummary {Show 14 fields
pub customer: String,
pub customer_descriptive_name: String,
pub account_budget: String,
pub account_budget_name: String,
pub purchase_order_number: String,
pub subtotal_amount_micros: i64,
pub tax_amount_micros: i64,
pub total_amount_micros: i64,
pub billable_activity_date_range: Option<DateRange>,
pub served_amount_micros: i64,
pub billed_amount_micros: i64,
pub overdelivery_amount_micros: i64,
pub invalid_activity_amount_micros: i64,
pub invalid_activity_summaries: Vec<InvalidActivitySummary>,
}
Expand description
Represents a summarized account budget billable cost.
Fields§
§customer: String
Output only. The resource name of the customer associated with this account budget. This contains the customer ID, which appears on the invoice PDF as “Account ID”. Customer resource names have the form:
customers/{customer_id}
customer_descriptive_name: String
Output only. The descriptive name of the account budget’s customer. It appears on the invoice PDF as “Account”.
account_budget: String
Output only. The resource name of the account budget associated with this summarized billable cost. AccountBudget resource names have the form:
customers/{customer_id}/accountBudgets/{account_budget_id}
account_budget_name: String
Output only. The name of the account budget. It appears on the invoice PDF as “Account budget”.
purchase_order_number: String
Output only. The purchase order number of the account budget. It appears on the invoice PDF as “Purchase order”.
subtotal_amount_micros: i64
Output only. The pretax subtotal amount attributable to this budget during the service period, in micros.
tax_amount_micros: i64
Output only. The tax amount attributable to this budget during the service period, in micros.
total_amount_micros: i64
Output only. The total amount attributable to this budget during the service period, in micros. This equals the sum of the account budget subtotal amount and the account budget tax amount.
billable_activity_date_range: Option<DateRange>
Output only. The billable activity date range of the account budget, within the service date range of this invoice. The end date is inclusive. This can be different from the account budget’s start and end time.
served_amount_micros: i64
Output only. The pretax served amount attributable to this budget during the service period, in micros. This is only useful to reconcile invoice and delivery data.
billed_amount_micros: i64
Output only. The pretax billed amount attributable to this budget during the service period, in micros. This does not account for any adjustments.
overdelivery_amount_micros: i64
Output only. The pretax overdelivery amount attributable to this budget during the service period, in micros (negative value).
invalid_activity_amount_micros: i64
Output only. The pretax invalid activity amount attributable to this budget in previous months, in micros (negative value).
invalid_activity_summaries: Vec<InvalidActivitySummary>
Output only. The list of summarized invalid activity credits with original linkages.
Trait Implementations§
Source§impl Clone for AccountBudgetSummary
impl Clone for AccountBudgetSummary
Source§fn clone(&self) -> AccountBudgetSummary
fn clone(&self) -> AccountBudgetSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccountBudgetSummary
impl Debug for AccountBudgetSummary
Source§impl Default for AccountBudgetSummary
impl Default for AccountBudgetSummary
Source§impl Message for AccountBudgetSummary
impl Message for AccountBudgetSummary
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for AccountBudgetSummary
impl PartialEq for AccountBudgetSummary
impl StructuralPartialEq for AccountBudgetSummary
Auto Trait Implementations§
impl Freeze for AccountBudgetSummary
impl RefUnwindSafe for AccountBudgetSummary
impl Send for AccountBudgetSummary
impl Sync for AccountBudgetSummary
impl Unpin for AccountBudgetSummary
impl UnwindSafe for AccountBudgetSummary
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