pub struct BalanceEntry {
pub identity: Identity,
pub asset_id: AssetId,
pub total_locked: u128,
pub total_unlocked: u128,
pub trading_account_balance: u128,
pub order_books: HashMap<String, OrderBookBalance>,
}Expand description
WebSocket balance entry.
Fields§
§identity: Identity§asset_id: AssetId§total_locked: u128§total_unlocked: u128§trading_account_balance: u128§order_books: HashMap<String, OrderBookBalance>Trait Implementations§
Source§impl Clone for BalanceEntry
impl Clone for BalanceEntry
Source§fn clone(&self) -> BalanceEntry
fn clone(&self) -> BalanceEntry
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 BalanceEntry
impl Debug for BalanceEntry
Source§impl<'de> Deserialize<'de> for BalanceEntry
impl<'de> Deserialize<'de> for BalanceEntry
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 BalanceEntry
impl RefUnwindSafe for BalanceEntry
impl Send for BalanceEntry
impl Sync for BalanceEntry
impl Unpin for BalanceEntry
impl UnwindSafe for BalanceEntry
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