pub struct BinanceNativeOrder {
pub symbol: String,
pub side: String,
pub order_type: String,
pub time_in_force: String,
pub quantity: String,
pub price: Option<String>,
pub client_order_id: String,
}Expand description
Individual order in a native batch request
Fields§
§symbol: StringTrading symbol (e.g., “BTCUSDT”)
side: StringOrder side - “BUY” or “SELL”
order_type: StringOrder type - “LIMIT”, “MARKET”, etc.
time_in_force: StringTime in force specification - “GTC”, “IOC”, “FOK”
quantity: StringOrder quantity as a string
price: Option<String>Order price (optional for market orders)
client_order_id: StringClient-generated order ID for tracking
Trait Implementations§
Source§impl Clone for BinanceNativeOrder
impl Clone for BinanceNativeOrder
Source§fn clone(&self) -> BinanceNativeOrder
fn clone(&self) -> BinanceNativeOrder
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 BinanceNativeOrder
impl Debug for BinanceNativeOrder
Auto Trait Implementations§
impl Freeze for BinanceNativeOrder
impl RefUnwindSafe for BinanceNativeOrder
impl Send for BinanceNativeOrder
impl Sync for BinanceNativeOrder
impl Unpin for BinanceNativeOrder
impl UnwindSafe for BinanceNativeOrder
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