pub struct OpenOrder {Show 24 fields
pub order_id: String,
pub ref_id: Option<String>,
pub user_ref: Option<i64>,
pub status: Option<OrderStatus>,
pub open_time: Option<String>,
pub start_time: Option<String>,
pub display_volume: Option<Decimal>,
pub display_volume_remain: Option<Decimal>,
pub expire_time: Option<String>,
pub contingent: Option<OrderContingent>,
pub order_description: Option<OrderDescription>,
pub last_updated: Option<String>,
pub volume: Option<Decimal>,
pub executed_volume: Option<Decimal>,
pub cost: Option<Decimal>,
pub fee: Option<Decimal>,
pub average_price: Option<Decimal>,
pub stop_price: Option<Decimal>,
pub limit_price: Option<Decimal>,
pub misc: Option<String>,
pub order_flags: Option<Vec<OrderFlag>>,
pub time_in_force: Option<TimeInForce>,
pub cancel_reason: Option<String>,
pub rate_count: Option<String>,
}
Expand description
OpenOrder type containing the order’s id
Fields§
§order_id: String
§ref_id: Option<String>
§user_ref: Option<i64>
§status: Option<OrderStatus>
§open_time: Option<String>
§start_time: Option<String>
§display_volume: Option<Decimal>
§display_volume_remain: Option<Decimal>
§expire_time: Option<String>
§contingent: Option<OrderContingent>
§order_description: Option<OrderDescription>
§last_updated: Option<String>
§volume: Option<Decimal>
§executed_volume: Option<Decimal>
§cost: Option<Decimal>
§fee: Option<Decimal>
§average_price: Option<Decimal>
§stop_price: Option<Decimal>
§limit_price: Option<Decimal>
§misc: Option<String>
§order_flags: Option<Vec<OrderFlag>>
§time_in_force: Option<TimeInForce>
§cancel_reason: Option<String>
§rate_count: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenOrder
impl<'de> Deserialize<'de> for OpenOrder
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
impl StructuralPartialEq for OpenOrder
Auto Trait Implementations§
impl Freeze for OpenOrder
impl RefUnwindSafe for OpenOrder
impl Send for OpenOrder
impl Sync for OpenOrder
impl Unpin for OpenOrder
impl UnwindSafe for OpenOrder
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