pub struct BinanceFuturesTradeLiteMsg {Show 13 fields
pub event_type: String,
pub event_time: i64,
pub transaction_time: i64,
pub symbol: Ustr,
pub client_order_id: String,
pub side: BinanceSide,
pub original_qty: String,
pub original_price: String,
pub order_id: i64,
pub last_filled_qty: String,
pub last_filled_price: String,
pub trade_id: i64,
pub is_maker: bool,
}Expand description
Trade Lite event from user data stream.
Binance pushes TRADE_LITE alongside ORDER_TRADE_UPDATE as a lower-latency
subset containing only the fields needed to recognize a fill. Clients that
prioritize latency can opt to act on TRADE_LITE and dedup the matching
fill portion of the full ORDER_TRADE_UPDATE event.
Fields§
§event_type: StringEvent type.
event_time: i64Event time in milliseconds.
transaction_time: i64Transaction time in milliseconds.
symbol: UstrSymbol.
client_order_id: StringClient order ID.
side: BinanceSideOrder side.
original_qty: StringOriginal quantity.
original_price: StringOriginal price.
order_id: i64Order ID.
last_filled_qty: StringLast executed quantity.
last_filled_price: StringLast executed price.
trade_id: i64Trade ID.
is_maker: boolIs maker.
Trait Implementations§
Source§impl Clone for BinanceFuturesTradeLiteMsg
impl Clone for BinanceFuturesTradeLiteMsg
Source§fn clone(&self) -> BinanceFuturesTradeLiteMsg
fn clone(&self) -> BinanceFuturesTradeLiteMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceFuturesTradeLiteMsg
impl Debug for BinanceFuturesTradeLiteMsg
Source§impl<'de> Deserialize<'de> for BinanceFuturesTradeLiteMsg
impl<'de> Deserialize<'de> for BinanceFuturesTradeLiteMsg
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 BinanceFuturesTradeLiteMsg
impl RefUnwindSafe for BinanceFuturesTradeLiteMsg
impl Send for BinanceFuturesTradeLiteMsg
impl Sync for BinanceFuturesTradeLiteMsg
impl Unpin for BinanceFuturesTradeLiteMsg
impl UnsafeUnpin for BinanceFuturesTradeLiteMsg
impl UnwindSafe for BinanceFuturesTradeLiteMsg
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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