Struct google_api_proto::google::ads::googleads::v16::resources::invoice::InvalidActivitySummary
source · pub struct InvalidActivitySummary {
pub original_month_of_service: Option<i32>,
pub original_year_of_service: Option<String>,
pub original_invoice_id: Option<String>,
pub original_account_budget_name: Option<String>,
pub original_purchase_order_number: Option<String>,
pub amount_micros: Option<i64>,
}
Expand description
Details about the invalid activity for the invoice that contain additional details about invoice against which corrections are made.
Fields§
§original_month_of_service: Option<i32>
Output only. Original month of service related to this invalid activity credit.
original_year_of_service: Option<String>
Output only. Original year of service related to this invalid activity credit.
original_invoice_id: Option<String>
Output only. Original invoice number related to this invalid activity credit.
original_account_budget_name: Option<String>
Output only. Original account budget name related to this invalid activity credit.
original_purchase_order_number: Option<String>
Output only. Original purchase order number related to this invalid activity credit.
amount_micros: Option<i64>
Output only. Invalid activity amount in micros.
Implementations§
source§impl InvalidActivitySummary
impl InvalidActivitySummary
sourcepub fn original_month_of_service(&self) -> MonthOfYear
pub fn original_month_of_service(&self) -> MonthOfYear
Returns the enum value of original_month_of_service
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_original_month_of_service(&mut self, value: MonthOfYear)
pub fn set_original_month_of_service(&mut self, value: MonthOfYear)
Sets original_month_of_service
to the provided enum value.
sourcepub fn original_year_of_service(&self) -> &str
pub fn original_year_of_service(&self) -> &str
Returns the value of original_year_of_service
, or the default value if original_year_of_service
is unset.
sourcepub fn original_invoice_id(&self) -> &str
pub fn original_invoice_id(&self) -> &str
Returns the value of original_invoice_id
, or the default value if original_invoice_id
is unset.
sourcepub fn original_account_budget_name(&self) -> &str
pub fn original_account_budget_name(&self) -> &str
Returns the value of original_account_budget_name
, or the default value if original_account_budget_name
is unset.
sourcepub fn original_purchase_order_number(&self) -> &str
pub fn original_purchase_order_number(&self) -> &str
Returns the value of original_purchase_order_number
, or the default value if original_purchase_order_number
is unset.
sourcepub fn amount_micros(&self) -> i64
pub fn amount_micros(&self) -> i64
Returns the value of amount_micros
, or the default value if amount_micros
is unset.
Trait Implementations§
source§impl Clone for InvalidActivitySummary
impl Clone for InvalidActivitySummary
source§fn clone(&self) -> InvalidActivitySummary
fn clone(&self) -> InvalidActivitySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InvalidActivitySummary
impl Debug for InvalidActivitySummary
source§impl Default for InvalidActivitySummary
impl Default for InvalidActivitySummary
source§impl Message for InvalidActivitySummary
impl Message for InvalidActivitySummary
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for InvalidActivitySummary
impl PartialEq for InvalidActivitySummary
source§fn eq(&self, other: &InvalidActivitySummary) -> bool
fn eq(&self, other: &InvalidActivitySummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvalidActivitySummary
Auto Trait Implementations§
impl Freeze for InvalidActivitySummary
impl RefUnwindSafe for InvalidActivitySummary
impl Send for InvalidActivitySummary
impl Sync for InvalidActivitySummary
impl Unpin for InvalidActivitySummary
impl UnwindSafe for InvalidActivitySummary
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