openlimits_exchange/model/
transaction.rs

1use derive_more::Constructor;
2use serde::Deserialize;
3use serde::Serialize;
4
5/// This struct represents a transaction
6#[derive(Serialize, Deserialize, Clone, Constructor, Debug)]
7pub struct Transaction<T> {
8    pub id: T,
9    pub market_pair: String,
10    pub client_order_id: Option<String>,
11    pub created_at: u64,
12}