pub struct BinanceOrderResponse {
pub symbol: SmartString,
pub order_id: u64,
pub client_order_id: SmartString,
pub transaction_time: u64,
pub status: SmartString,
pub executed_qty: SmartString,
pub original_qty: SmartString,
pub price: SmartString,
pub time_in_force: SmartString,
pub order_type: SmartString,
pub side: SmartString,
}Expand description
Order response from Binance
Fields§
§symbol: SmartStringTrading symbol (e.g., “BTCUSDT”)
order_id: u64Unique order ID assigned by Binance
client_order_id: SmartStringClient-generated order ID for tracking
transaction_time: u64Transaction timestamp from Binance
status: SmartStringCurrent order status (NEW, PARTIALLY_FILLED, FILLED, CANCELED, etc.)
executed_qty: SmartStringQuantity of the order that has been executed
original_qty: SmartStringOriginal quantity of the order
price: SmartStringOrder price as a string
time_in_force: SmartStringTime in force specification (GTC, IOC, FOK)
order_type: SmartStringOrder type (LIMIT, MARKET, STOP_LOSS, etc.)
side: SmartStringOrder side (BUY or SELL)
Trait Implementations§
Source§impl Clone for BinanceOrderResponse
impl Clone for BinanceOrderResponse
Source§fn clone(&self) -> BinanceOrderResponse
fn clone(&self) -> BinanceOrderResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceOrderResponse
impl Debug for BinanceOrderResponse
Source§impl<'de> Deserialize<'de> for BinanceOrderResponse
impl<'de> Deserialize<'de> for BinanceOrderResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BinanceOrderResponse
impl RefUnwindSafe for BinanceOrderResponse
impl Send for BinanceOrderResponse
impl Sync for BinanceOrderResponse
impl Unpin for BinanceOrderResponse
impl UnwindSafe for BinanceOrderResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more