pub struct Wallet {
pub balance: WalletBalance,
pub numbers: WalletNumbers,
pub recipient_id: Option<String>,
pub status: WalletStatus,
pub wallet_id: String,
}Expand description
An object representing the e-wallet
Fields§
§balance: WalletBalanceAn object representing the e-wallet balance
numbers: WalletNumbersAn object representing the e-wallet account numbers
recipient_id: Option<String>The ID of the recipient that corresponds to the e-wallet account numbers
status: WalletStatusThe status of the wallet.
UNKNOWN: The wallet status is unknown.
ACTIVE: The wallet is active and ready to send money to and receive money from.
CLOSED: The wallet is closed. Any transactions made to or from this wallet will error.
wallet_id: StringA unique ID identifying the e-wallet
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wallet
impl<'de> Deserialize<'de> for Wallet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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
Mutably borrows from an owned value. Read more