pub struct BalanceInfo {
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: Decimal
Trait Implementations§
Source§impl Clone for BalanceInfo
impl Clone for BalanceInfo
Source§fn clone(&self) -> BalanceInfo
fn clone(&self) -> BalanceInfo
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 BalanceInfo
impl Debug for BalanceInfo
Source§impl<'de> Deserialize<'de> for BalanceInfo
impl<'de> Deserialize<'de> for BalanceInfo
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 BalanceInfo
impl RefUnwindSafe for BalanceInfo
impl Send for BalanceInfo
impl Sync for BalanceInfo
impl Unpin for BalanceInfo
impl UnwindSafe for BalanceInfo
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