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
12
use serde::Deserialize;
use serde::Serialize;

/// This struct represents a transaction
#[derive(Debug, Serialize, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct Transaction {
    pub symbol: String,
    pub order_id: u64,
    pub client_order_id: String,
    pub transact_time: u64,
}