Struct binance::futures::rest_model::Order
source · pub struct Order {Show 22 fields
pub client_order_id: String,
pub cum_quote: f64,
pub executed_qty: f64,
pub order_id: u64,
pub avg_price: f64,
pub orig_qty: f64,
pub price: f64,
pub side: OrderSide,
pub reduce_only: bool,
pub position_side: PositionSide,
pub status: OrderStatus,
pub stop_price: f64,
pub close_position: bool,
pub symbol: String,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub orig_type: OrderType,
pub activate_price: f64,
pub price_rate: f64,
pub update_time: u64,
pub working_type: WorkingType,
pub price_protect: bool,
}
Fields§
§client_order_id: String
§cum_quote: f64
§executed_qty: f64
§order_id: u64
§avg_price: f64
§orig_qty: f64
§price: f64
§side: OrderSide
§reduce_only: bool
§position_side: PositionSide
§status: OrderStatus
§stop_price: f64
§close_position: bool
§symbol: String
§time_in_force: TimeInForce
§order_type: OrderType
§orig_type: OrderType
§activate_price: f64
§price_rate: f64
§update_time: u64
§working_type: WorkingType
§price_protect: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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 RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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