Struct nash_protocol::types::exchange::Trade [−][src]
pub struct Trade {Show 13 fields
pub id: String,
pub taker_order_id: String,
pub maker_order_id: String,
pub amount: BigDecimal,
pub executed_at: DateTime<Utc>,
pub account_side: AccountTradeSide,
pub maker_fee: BigDecimal,
pub taker_fee: BigDecimal,
pub maker_recieved: BigDecimal,
pub taker_recieved: BigDecimal,
pub market: String,
pub direction: BuyOrSell,
pub limit_price: BigDecimal,
}
Fields
id: String
taker_order_id: String
maker_order_id: String
amount: BigDecimal
executed_at: DateTime<Utc>
account_side: AccountTradeSide
maker_fee: BigDecimal
taker_fee: BigDecimal
maker_recieved: BigDecimal
taker_recieved: BigDecimal
market: String
direction: BuyOrSell
limit_price: BigDecimal
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Trade
impl UnwindSafe for Trade
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more