binance_client/http_api_v3/data/order/post/response/fill.rs
1//!
2//! The order POST response fill.
3//!
4
5use rust_decimal::Decimal;
6use serde::Deserialize;
7
8///
9/// The order partial fill.
10///
11#[derive(Debug, Deserialize, Clone)]
12#[serde(rename_all = "camelCase")]
13pub struct Fill {
14 /// The trade event price.
15 pub price: Decimal,
16 /// The trade event quantity.
17 pub qty: Decimal,
18 /// The commission of the trade event.
19 pub commission: Decimal,
20 /// The token of the commission of the trade event.
21 pub commission_asset: String,
22}