openlimits_exchange/model/request/open_market_order_request.rs
1use derive_more::Constructor;
2use rust_decimal::prelude::Decimal;
3use serde::Deserialize;
4use serde::Serialize;
5use crate::model::market_pair::MarketPair;
6
7/// This struct represents an open market order
8#[derive(Serialize, Deserialize, Clone, Constructor, Debug, PartialEq)]
9pub struct OpenMarketOrderRequest {
10 pub client_order_id: Option<String>,
11 pub market_pair: MarketPair,
12 pub size: Decimal,
13}