pub struct SubAccountBalanceInfo {
pub coin: String,
pub total: Decimal,
pub free: Decimal,
pub available_without_borrow: Decimal,
pub usd_value: Decimal,
pub spot_borrow: Decimal,
}Fields§
§coin: String§total: Decimal§free: Decimal§available_without_borrow: Decimal§usd_value: Decimal§spot_borrow: DecimalTrait Implementations§
Source§impl Clone for SubAccountBalanceInfo
impl Clone for SubAccountBalanceInfo
Source§fn clone(&self) -> SubAccountBalanceInfo
fn clone(&self) -> SubAccountBalanceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubAccountBalanceInfo
impl Debug for SubAccountBalanceInfo
Source§impl<'de> Deserialize<'de> for SubAccountBalanceInfo
impl<'de> Deserialize<'de> for SubAccountBalanceInfo
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 SubAccountBalanceInfo
impl RefUnwindSafe for SubAccountBalanceInfo
impl Send for SubAccountBalanceInfo
impl Sync for SubAccountBalanceInfo
impl Unpin for SubAccountBalanceInfo
impl UnsafeUnpin for SubAccountBalanceInfo
impl UnwindSafe for SubAccountBalanceInfo
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