binance-async 0.3.0

Rust Library for the Binance API (Async)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::models::Product;
use reqwest::Method;

crate::define_request! {
    Name => GetCurrentPositionMode;
    Product => Product::UsdMFutures;
    Endpoint => "/fapi/v1/positionSide/dual";
    Method => Method::GET;
    Signed => true;
    Request => {};
    Response => {
        pub dual_side_position: bool,
    };
}