pub struct CoinBalance {
pub coin: String,
pub wallet_balance: Decimal,
pub transfer_balance: Decimal,
pub bonus: Decimal,
pub transfer_safe_amount: Option<Decimal>,
pub ltv_transfer_safe_amount: Option<Decimal>,
}Expand description
Part of the response of /v5/asset/transfer/query-account-coin-balance.
Fields§
§coin: StringCoin.
wallet_balance: DecimalWallet balance.
transfer_balance: DecimalTransferable balance.
bonus: DecimalBonus.
transfer_safe_amount: Option<Decimal>Safe amount to transfer. Keep “” if not query.
ltv_transfer_safe_amount: Option<Decimal>Transferable amount for ins loan account. Keep “” if not query.
Trait Implementations§
Source§impl Debug for CoinBalance
impl Debug for CoinBalance
Source§impl<'de> Deserialize<'de> for CoinBalance
impl<'de> Deserialize<'de> for CoinBalance
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
Source§impl PartialEq for CoinBalance
impl PartialEq for CoinBalance
impl StructuralPartialEq for CoinBalance
Auto Trait Implementations§
impl Freeze for CoinBalance
impl RefUnwindSafe for CoinBalance
impl Send for CoinBalance
impl Sync for CoinBalance
impl Unpin for CoinBalance
impl UnsafeUnpin for CoinBalance
impl UnwindSafe for CoinBalance
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