Struct google_api_proto::google::cloud::paymentgateway::issuerswitch::accountmanager::v1::ManagedAccount
source · pub struct ManagedAccount {
pub name: String,
pub account_reference: Option<AccountReference>,
pub state: i32,
pub balance: Option<Money>,
pub last_reconciliation_state: i32,
pub last_reconciliation_time: Option<Timestamp>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
}
Expand description
Entity representing an account managed by the account manager.
Fields§
§name: String
The name of the account which uniquely identifies the account.
Format:
projects/{project}/accountManagers/{account_manager}/accounts/{account}
When account manager is used for managing UPI Lite transactions,
{account}
is the Lite Reference Number (LRN).
account_reference: Option<AccountReference>
Required. The associated bank account information.
state: i32
Output only. State of the account.
balance: Option<Money>
Required. Current balance of the account.
last_reconciliation_state: i32
Output only. State of the last reconciliation done on the account.
last_reconciliation_time: Option<Timestamp>
Output only. Time at which last reconciliation was done on the account.
create_time: Option<Timestamp>
Output only. The time at which the account was created by the account manager.
update_time: Option<Timestamp>
Output only. The time at which the account was last updated by the account manager.
Implementations§
source§impl ManagedAccount
impl ManagedAccount
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn last_reconciliation_state(&self) -> AccountReconciliationState
pub fn last_reconciliation_state(&self) -> AccountReconciliationState
Returns the enum value of last_reconciliation_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_last_reconciliation_state(
&mut self,
value: AccountReconciliationState,
)
pub fn set_last_reconciliation_state( &mut self, value: AccountReconciliationState, )
Sets last_reconciliation_state
to the provided enum value.
Trait Implementations§
source§impl Clone for ManagedAccount
impl Clone for ManagedAccount
source§fn clone(&self) -> ManagedAccount
fn clone(&self) -> ManagedAccount
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedAccount
impl Debug for ManagedAccount
source§impl Default for ManagedAccount
impl Default for ManagedAccount
source§impl Message for ManagedAccount
impl Message for ManagedAccount
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 ManagedAccount
impl PartialEq for ManagedAccount
source§fn eq(&self, other: &ManagedAccount) -> bool
fn eq(&self, other: &ManagedAccount) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedAccount
Auto Trait Implementations§
impl Freeze for ManagedAccount
impl RefUnwindSafe for ManagedAccount
impl Send for ManagedAccount
impl Sync for ManagedAccount
impl Unpin for ManagedAccount
impl UnwindSafe for ManagedAccount
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