Struct google_api_proto::google::ads::googleads::v16::resources::account_budget::PendingAccountBudgetProposal
source · pub struct PendingAccountBudgetProposal {
pub account_budget_proposal: Option<String>,
pub proposal_type: i32,
pub name: Option<String>,
pub start_date_time: Option<String>,
pub purchase_order_number: Option<String>,
pub notes: Option<String>,
pub creation_date_time: Option<String>,
pub end_time: Option<EndTime>,
pub spending_limit: Option<SpendingLimit>,
}
Expand description
A pending proposal associated with the enclosing account-level budget, if applicable.
Fields§
§account_budget_proposal: Option<String>
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form:
customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}
proposal_type: i32
Output only. The type of this proposal, for example, END to end the budget associated with this proposal.
name: Option<String>
Output only. The name to assign to the account-level budget.
start_date_time: Option<String>
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
purchase_order_number: Option<String>
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
notes: Option<String>
Output only. Notes associated with this budget.
creation_date_time: Option<String>
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
end_time: Option<EndTime>
The end time of the account-level budget.
spending_limit: Option<SpendingLimit>
The spending limit.
Implementations§
source§impl PendingAccountBudgetProposal
impl PendingAccountBudgetProposal
sourcepub fn proposal_type(&self) -> AccountBudgetProposalType
pub fn proposal_type(&self) -> AccountBudgetProposalType
Returns the enum value of proposal_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_proposal_type(&mut self, value: AccountBudgetProposalType)
pub fn set_proposal_type(&mut self, value: AccountBudgetProposalType)
Sets proposal_type
to the provided enum value.
sourcepub fn account_budget_proposal(&self) -> &str
pub fn account_budget_proposal(&self) -> &str
Returns the value of account_budget_proposal
, or the default value if account_budget_proposal
is unset.
sourcepub fn start_date_time(&self) -> &str
pub fn start_date_time(&self) -> &str
Returns the value of start_date_time
, or the default value if start_date_time
is unset.
sourcepub fn purchase_order_number(&self) -> &str
pub fn purchase_order_number(&self) -> &str
Returns the value of purchase_order_number
, or the default value if purchase_order_number
is unset.
sourcepub fn notes(&self) -> &str
pub fn notes(&self) -> &str
Returns the value of notes
, or the default value if notes
is unset.
sourcepub fn creation_date_time(&self) -> &str
pub fn creation_date_time(&self) -> &str
Returns the value of creation_date_time
, or the default value if creation_date_time
is unset.
Trait Implementations§
source§impl Clone for PendingAccountBudgetProposal
impl Clone for PendingAccountBudgetProposal
source§fn clone(&self) -> PendingAccountBudgetProposal
fn clone(&self) -> PendingAccountBudgetProposal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PendingAccountBudgetProposal
impl Debug for PendingAccountBudgetProposal
source§impl Message for PendingAccountBudgetProposal
impl Message for PendingAccountBudgetProposal
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 PendingAccountBudgetProposal
impl PartialEq for PendingAccountBudgetProposal
source§fn eq(&self, other: &PendingAccountBudgetProposal) -> bool
fn eq(&self, other: &PendingAccountBudgetProposal) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PendingAccountBudgetProposal
Auto Trait Implementations§
impl Freeze for PendingAccountBudgetProposal
impl RefUnwindSafe for PendingAccountBudgetProposal
impl Send for PendingAccountBudgetProposal
impl Sync for PendingAccountBudgetProposal
impl Unpin for PendingAccountBudgetProposal
impl UnwindSafe for PendingAccountBudgetProposal
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