openlimits-exchange 0.3.0

The exchange traits of OpenLimits.
Documentation
1
2
3
4
5
6
7
8
9
10
use derive_more::Constructor;
use serde::Deserialize;
use serde::Serialize;

/// This struct represents the cancellation of an order
#[derive(Serialize, Deserialize, Clone, Constructor, Debug)]
pub struct CancelOrderRequest {
    pub id: String,
    pub market_pair: Option<String>,
}