binance_async/rest/usdm/
account.rs

1use crate::models::Product;
2use reqwest::Method;
3
4crate::define_request! {
5    Name => GetCurrentPositionMode;
6    Product => Product::UsdMFutures;
7    Endpoint => "/fapi/v1/positionSide/dual";
8    Method => Method::GET;
9    Signed => true;
10    Request => {};
11    Response => {
12        pub dual_side_position: bool,
13    };
14}