xapi-binance 0.0.1

Binance API client
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::Serialize;

#[derive(Debug, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum BnOrderCancelRestrictions {
    /// Cancel will succeed if the order status is NEW.
    OnlyNew,
    /// Cancel will succeed if order status is PARTIALLY_FILLED.
    OnlyPartiallyFilled,
}