Struct nash_protocol::graphql::get_account_order::GetAccountOrderGetAccountOrder [−][src]
pub struct GetAccountOrderGetAccountOrder {Show 17 fields
pub client_order_id: Option<String>,
pub amount: GetAccountOrderGetAccountOrderAmount,
pub amount_executed: GetAccountOrderGetAccountOrderAmountExecuted,
pub amount_remaining: GetAccountOrderGetAccountOrderAmountRemaining,
pub avg_executed_price: Option<GetAccountOrderGetAccountOrderAvgExecutedPrice>,
pub buy_or_sell: OrderBuyOrSell,
pub placed_at: String,
pub cancel_at: Option<String>,
pub cancellation_policy: Option<OrderCancellationPolicy>,
pub cancellation_reason: Option<OrderCancellationReason>,
pub id: String,
pub limit_price: Option<GetAccountOrderGetAccountOrderLimitPrice>,
pub stop_price: Option<GetAccountOrderGetAccountOrderStopPrice>,
pub market: GetAccountOrderGetAccountOrderMarket,
pub status: OrderStatus,
pub type_: OrderType,
pub trades: Option<Vec<Option<GetAccountOrderGetAccountOrderTrades>>>,
}Fields
client_order_id: Option<String>amount: GetAccountOrderGetAccountOrderAmountThe amount the order was placed for
amount_executed: GetAccountOrderGetAccountOrderAmountExecutedThe amount executed on the order book
amount_remaining: GetAccountOrderGetAccountOrderAmountRemainingThe amount remaining to buy/sell
avg_executed_price: Option<GetAccountOrderGetAccountOrderAvgExecutedPrice>The average execution price for the order
buy_or_sell: OrderBuyOrSellplaced_at: Stringcancel_at: Option<String>cancellation_policy: Option<OrderCancellationPolicy>cancellation_reason: Option<OrderCancellationReason>id: Stringlimit_price: Option<GetAccountOrderGetAccountOrderLimitPrice>stop_price: Option<GetAccountOrderGetAccountOrderStopPrice>market: GetAccountOrderGetAccountOrderMarketstatus: OrderStatustype_: OrderTypetrades: Option<Vec<Option<GetAccountOrderGetAccountOrderTrades>>>Trait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl Send for GetAccountOrderGetAccountOrder
impl Sync for GetAccountOrderGetAccountOrder
impl Unpin for GetAccountOrderGetAccountOrder
impl UnwindSafe for GetAccountOrderGetAccountOrder
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more