pub struct GetWalletBalanceParams {
pub account_type: AccountType,
pub coin: Option<String>,
}Expand description
Query parameters of GET /v5/account/wallet-balance (Client::get_wallet_balance).
Fields§
§account_type: AccountTypeAccount type UTA2.0: UNIFIED UTA1.0: UNIFIED, CONTRACT(inverse derivatives wallet) Classic account: CONTRACT, SPOT To get Funding wallet balance, please go to this endpoint
coin: Option<String>Coin name, uppercase only If not passed, it returns non-zero asset info You can pass multiple coins to query, separated by comma. USDT,USDC
Implementations§
Source§impl GetWalletBalanceParams
impl GetWalletBalanceParams
Sourcepub fn new(account_type: AccountType) -> Self
pub fn new(account_type: AccountType) -> Self
Create with the required fields; set the optional ones with the with_* methods.
Trait Implementations§
Source§impl Clone for GetWalletBalanceParams
impl Clone for GetWalletBalanceParams
Source§impl Debug for GetWalletBalanceParams
impl Debug for GetWalletBalanceParams
Auto Trait Implementations§
impl Freeze for GetWalletBalanceParams
impl RefUnwindSafe for GetWalletBalanceParams
impl Send for GetWalletBalanceParams
impl Sync for GetWalletBalanceParams
impl Unpin for GetWalletBalanceParams
impl UnsafeUnpin for GetWalletBalanceParams
impl UnwindSafe for GetWalletBalanceParams
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