|
|
@@ -39,10 +39,11 @@ macro_rules! t { |
|
|
|
/// which side of the transaction (buying or selling) |
|
|
|
/// a price/trade is |
|
|
|
/// |
|
|
|
#[repr(u8)] |
|
|
|
#[derive(Debug, PartialEq, Clone, Copy, Eq, Serialize)] |
|
|
|
pub enum Side { |
|
|
|
Bid, |
|
|
|
Ask |
|
|
|
Bid = 1, |
|
|
|
Ask = 2, |
|
|
|
} |
|
|
|
|
|
|
|
impl TryFrom<u8> for Side { |
|
|
|