[][src]Struct nash_protocol::graphql::get_account_order::GetAccountOrderGetAccountOrder

pub struct GetAccountOrderGetAccountOrder {
    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

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

impl Debug for GetAccountOrderGetAccountOrder[src]

impl<'de> Deserialize<'de> for GetAccountOrderGetAccountOrder[src]

impl<'_> From<&'_ GetAccountOrderGetAccountOrder> for Option<OrderCancellationPolicy>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.