Struct nash_protocol::types::exchange::Order [−][src]
pub struct Order {Show 15 fields
pub id: String,
pub client_order_id: Option<String>,
pub amount_placed: BigDecimal,
pub amount_remaining: BigDecimal,
pub amount_executed: BigDecimal,
pub limit_price: Option<BigDecimal>,
pub stop_price: Option<BigDecimal>,
pub placed_at: DateTime<Utc>,
pub buy_or_sell: BuyOrSell,
pub cancellation_policy: Option<OrderCancellationPolicy>,
pub cancellation_reason: Option<OrderCancellationReason>,
pub market: String,
pub order_type: OrderType,
pub status: OrderStatus,
pub trades: Vec<Trade>,
}
Fields
id: String
client_order_id: Option<String>
amount_placed: BigDecimal
amount_remaining: BigDecimal
amount_executed: BigDecimal
limit_price: Option<BigDecimal>
stop_price: Option<BigDecimal>
placed_at: DateTime<Utc>
buy_or_sell: BuyOrSell
cancellation_policy: Option<OrderCancellationPolicy>
cancellation_reason: Option<OrderCancellationReason>
market: String
order_type: OrderType
status: OrderStatus
trades: Vec<Trade>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Order
impl UnwindSafe for Order
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