pub struct OrderUpdateData {Show 19 fields
pub symbol: String,
pub client_order_id: String,
pub side: String,
pub order_type: String,
pub time_in_force: String,
pub quantity: String,
pub price: String,
pub avg_price: String,
pub stop_price: String,
pub execution_type: String,
pub order_status: String,
pub order_id: i64,
pub last_filled_qty: String,
pub cumulative_filled_qty: String,
pub last_filled_price: String,
pub trade_id: i64,
pub order_trade_time: u64,
pub position_side: String,
pub realized_profit: String,
}Expand description
Order details within an OrderUpdateEvent.
Fields§
§symbol: String§client_order_id: String§side: String§order_type: String§time_in_force: String§quantity: String§price: String§avg_price: String§stop_price: String§execution_type: String§order_status: String§order_id: i64§last_filled_qty: String§cumulative_filled_qty: String§last_filled_price: String§trade_id: i64§order_trade_time: u64§position_side: String§realized_profit: StringTrait Implementations§
Source§impl Debug for OrderUpdateData
impl Debug for OrderUpdateData
Source§impl<'de> Deserialize<'de> for OrderUpdateData
impl<'de> Deserialize<'de> for OrderUpdateData
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
Auto Trait Implementations§
impl Freeze for OrderUpdateData
impl RefUnwindSafe for OrderUpdateData
impl Send for OrderUpdateData
impl Sync for OrderUpdateData
impl Unpin for OrderUpdateData
impl UnsafeUnpin for OrderUpdateData
impl UnwindSafe for OrderUpdateData
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