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: GetAccountOrderGetAccountOrderAmount

The amount the order was placed for

amount_executed: GetAccountOrderGetAccountOrderAmountExecuted

The amount executed on the order book

amount_remaining: GetAccountOrderGetAccountOrderAmountRemaining

The 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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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