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

/// This struct represent the buy-side and sell-side
#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum Side {
    Buy,
    Sell,
}