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

/// This struct represents the historic of the rates
#[derive(Serialize, Deserialize, Clone, Constructor, Debug)]
pub struct GetHistoricRatesRequest {
    pub market_pair: String,
    pub paginator: Option<Paginator>,
    pub interval: Interval,
}