1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use derive_more::Constructor;
use serde::Deserialize;
use serde::Serialize;
use crate::model::{OrderStatus, Paginator};
use crate::model::market_pair::MarketPair;

/// This struct represents the historic of the orders
#[derive(Serialize, Deserialize, Clone, Constructor, Debug)]
pub struct GetOrderHistoryRequest {
    pub market_pair: Option<MarketPair>,
    pub order_status: Option<Vec<OrderStatus>>,
    pub paginator: Option<Paginator>,
}