pub struct PendingAccountBudgetProposal {
pub account_budget_proposal: String,
pub proposal_type: i32,
pub name: String,
pub start_date_time: String,
pub purchase_order_number: String,
pub notes: String,
pub creation_date_time: 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: 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: String
Output only. The name to assign to the account-level budget.
start_date_time: String
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
purchase_order_number: String
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
notes: String
Output only. Notes associated with this budget.
creation_date_time: 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.
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<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 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
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