bitpanda_api/model/
crypto_wallet.rs

1//! # Crypto wallet
2
3use rust_decimal::Decimal;
4
5mod transaction;
6
7pub use transaction::CryptoWalletTransaction;
8
9/// Defines a Bitpanda wallet for cryptocurrencies
10#[derive(Debug, Clone, Eq, PartialEq, Hash, Deserialize)]
11pub struct CryptoWallet {
12    pub balance: Decimal,
13    pub cryptocoin_id: String,
14    pub deleted: bool,
15    pub id: String,
16    pub is_default: bool,
17    pub name: String,
18    pub pending_transactions_count: usize,
19    pub symbol: String,
20}