pub struct AmendedOrderInfo {Show 17 fields
pub symbol: String,
pub order_id: u64,
pub order_list_id: i64,
pub orig_client_order_id: String,
pub client_order_id: String,
pub price: f64,
pub quantity: f64,
pub executed_qty: f64,
pub prevented_qty: f64,
pub quote_order_qty: f64,
pub cumulative_quote_qty: f64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub working_time: Option<u64>,
pub self_trade_prevention_mode: Option<String>,
}Expand description
Amended order details returned from amend endpoint.
Fields§
§symbol: StringSymbol.
order_id: u64Order ID.
order_list_id: i64Order list ID (-1 if not part of a list).
orig_client_order_id: StringOriginal client order ID.
client_order_id: StringClient order ID after amendment.
price: f64Order price.
quantity: f64Order quantity after amendment.
executed_qty: f64Executed quantity.
prevented_qty: f64Prevented quantity.
quote_order_qty: f64Quote order quantity.
cumulative_quote_qty: f64Cumulative quote quantity.
status: OrderStatusOrder status.
time_in_force: TimeInForceTime in force.
order_type: OrderTypeOrder type.
side: OrderSideOrder side.
working_time: Option<u64>Working time.
self_trade_prevention_mode: Option<String>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for AmendedOrderInfo
impl Clone for AmendedOrderInfo
Source§fn clone(&self) -> AmendedOrderInfo
fn clone(&self) -> AmendedOrderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmendedOrderInfo
impl Debug for AmendedOrderInfo
Source§impl<'de> Deserialize<'de> for AmendedOrderInfo
impl<'de> Deserialize<'de> for AmendedOrderInfo
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 AmendedOrderInfo
impl RefUnwindSafe for AmendedOrderInfo
impl Send for AmendedOrderInfo
impl Sync for AmendedOrderInfo
impl Unpin for AmendedOrderInfo
impl UnwindSafe for AmendedOrderInfo
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