Skip to main content

UnindexedAccountSnapshot

Type Alias UnindexedAccountSnapshot 

Source
pub type UnindexedAccountSnapshot = AccountSnapshot<ExchangeId, AssetNameExchange, InstrumentNameExchange>;
Expand description

Convenient type alias for an AccountSnapshot keyed with ExchangeId, AssetNameExchange, and InstrumentNameExchange.

Aliased Type§

pub struct UnindexedAccountSnapshot {
    pub exchange: ExchangeId,
    pub balances: Vec<AssetBalance<AssetNameExchange>>,
    pub instruments: Vec<InstrumentAccountSnapshot<ExchangeId, AssetNameExchange, InstrumentNameExchange>>,
}

Fields§

§exchange: ExchangeId§balances: Vec<AssetBalance<AssetNameExchange>>§instruments: Vec<InstrumentAccountSnapshot<ExchangeId, AssetNameExchange, InstrumentNameExchange>>