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 derive_more::Constructor;
use rust_decimal::prelude::Decimal;
use serde::{Serialize, Deserialize};

/// This struct represents the ask and bid
#[derive(Serialize, Deserialize, Copy, Clone, Constructor, Debug, Default, PartialEq)]
pub struct AskBid {
    pub price: Decimal,
    pub qty: Decimal,
}