Skip to main content

ecbt_exchange/model/request/
get_historic_rates_request.rs

1use crate::model::market_pair::MarketPair;
2use crate::model::{Interval, Paginator};
3
4use serde::Deserialize;
5use serde::Serialize;
6
7/// This struct represents the historic of the rates
8#[derive(Serialize, Deserialize, Clone, Debug)]
9pub struct GetHistoricRatesRequest {
10    pub market_pair: MarketPair,
11    pub paginator: Option<Paginator>,
12    pub interval: Interval,
13}