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: OrderBuyOrSell§placed_at: String§cancel_at: Option<String>§cancellation_policy: Option<OrderCancellationPolicy>§cancellation_reason: Option<OrderCancellationReason>§id: String§limit_price: Option<GetAccountOrderGetAccountOrderLimitPrice>§stop_price: Option<GetAccountOrderGetAccountOrderStopPrice>§market: GetAccountOrderGetAccountOrderMarket§status: OrderStatus§type_: OrderType§trades: Option<Vec<Option<GetAccountOrderGetAccountOrderTrades>>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetAccountOrderGetAccountOrder
impl<'de> Deserialize<'de> for GetAccountOrderGetAccountOrder
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
Source§impl From<&GetAccountOrderGetAccountOrder> for Option<OrderCancellationPolicy>
impl From<&GetAccountOrderGetAccountOrder> for Option<OrderCancellationPolicy>
Source§fn from(order: &GetAccountOrderGetAccountOrder) -> Self
fn from(order: &GetAccountOrderGetAccountOrder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetAccountOrderGetAccountOrder
impl RefUnwindSafe for GetAccountOrderGetAccountOrder
impl Send for GetAccountOrderGetAccountOrder
impl Sync for GetAccountOrderGetAccountOrder
impl Unpin for GetAccountOrderGetAccountOrder
impl UnsafeUnpin for GetAccountOrderGetAccountOrder
impl UnwindSafe for GetAccountOrderGetAccountOrder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more