pub struct Order {Show 32 fields
pub order_id: String,
pub exchange_order_id: Option<String>,
pub parent_order_id: Option<String>,
pub placed_by: String,
pub app_id: u64,
pub status: OrderStatus,
pub status_message: Option<String>,
pub status_message_raw: Option<String>,
pub tradingsymbol: String,
pub instrument_token: u32,
pub exchange: Exchange,
pub order_type: String,
pub transaction_type: OrderTransactionType,
pub validity: OrderValidity,
pub variety: String,
pub product: Option<String>,
pub average_price: f64,
pub disclosed_quantity: f64,
pub price: f64,
pub quantity: u64,
pub filled_quantity: u64,
pub unfilled_quantity: u64,
pub pending_quantity: u64,
pub cancelled_quantity: u64,
pub trigger_price: f64,
pub user_id: String,
pub order_timestamp: TimeStamp,
pub exchange_timestamp: TimeStamp,
pub exchange_update_timestamp: TimeStamp,
pub checksum: String,
pub meta: Option<Map<String, Value>>,
pub tag: Option<String>,
}
Fields§
§order_id: String
§exchange_order_id: Option<String>
§parent_order_id: Option<String>
§placed_by: String
§app_id: u64
§status: OrderStatus
§status_message: Option<String>
§status_message_raw: Option<String>
§tradingsymbol: String
§instrument_token: u32
§exchange: Exchange
§order_type: String
§transaction_type: OrderTransactionType
§validity: OrderValidity
§variety: String
§product: Option<String>
§average_price: f64
§disclosed_quantity: f64
§price: f64
§quantity: u64
§filled_quantity: u64
§unfilled_quantity: u64
§pending_quantity: u64
§cancelled_quantity: u64
§trigger_price: f64
§user_id: String
§order_timestamp: TimeStamp
§exchange_timestamp: TimeStamp
§exchange_update_timestamp: TimeStamp
§checksum: String
§meta: Option<Map<String, Value>>
§tag: Option<String>
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
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
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