pub struct CoinBalance {Show 15 fields
pub coin: String,
pub equity: String,
pub usd_value: String,
pub wallet_balance: String,
pub free: String,
pub locked: String,
pub available_to_withdraw: String,
pub available_to_borrow: String,
pub borrow_amount: String,
pub accrued_interest: String,
pub total_order_i_m: String,
pub total_position_i_m: String,
pub total_position_m_m: String,
pub unrealised_pnl: String,
pub cum_realised_pnl: String,
}Expand description
Coin balance.
Fields§
§coin: StringCoin name
equity: StringEquity
usd_value: StringUSD value
wallet_balance: StringWallet balance
free: StringFree amount
locked: StringLocked amount
available_to_withdraw: StringAvailable to withdraw
available_to_borrow: StringAvailable to borrow
borrow_amount: StringBorrow amount
accrued_interest: StringAccrued interest
total_order_i_m: StringTotal order IM
total_position_i_m: StringTotal position IM
total_position_m_m: StringTotal position MM
unrealised_pnl: StringUnrealised PnL
cum_realised_pnl: StringCumulative realised PnL
Trait Implementations§
Source§impl Clone for CoinBalance
impl Clone for CoinBalance
Source§fn clone(&self) -> CoinBalance
fn clone(&self) -> CoinBalance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
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