les 0.1.0-alpha.2

less is the crate provide binding for crypto network
Documentation
1
2
3
4
5
6
7
8
9
10
11
use derive_more::Constructor;
use serde::{Deserialize, Serialize};

/// This struct represents a transaction
#[derive(Serialize, Deserialize, Clone, Constructor, Debug)]
pub struct Transaction<T> {
    pub id: T,
    pub market_pair: String,
    pub client_order_id: Option<String>,
    pub created_at: u64,
}