pub struct BinanceTradeUpdate {
pub event_type: String,
pub event_time: u64,
pub symbol: String,
pub trade_id: u64,
pub price: String,
pub quantity: String,
pub buyer_order_id: u64,
pub seller_order_id: u64,
pub trade_time: u64,
pub is_buyer_maker: bool,
pub is_best_match: bool,
}Expand description
Binance trade update structure
Fields§
§event_type: StringEvent type
event_time: u64Event time
symbol: StringSymbol
trade_id: u64Trade ID
price: StringPrice
quantity: StringQuantity
buyer_order_id: u64Buyer order ID
seller_order_id: u64Seller order ID
trade_time: u64Trade time
is_buyer_maker: boolIs buyer market maker flag
is_best_match: boolIs this trade the best price match
Trait Implementations§
Source§impl Clone for BinanceTradeUpdate
impl Clone for BinanceTradeUpdate
Source§fn clone(&self) -> BinanceTradeUpdate
fn clone(&self) -> BinanceTradeUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceTradeUpdate
impl Debug for BinanceTradeUpdate
Source§impl<'de> Deserialize<'de> for BinanceTradeUpdate
impl<'de> Deserialize<'de> for BinanceTradeUpdate
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 BinanceTradeUpdate
impl RefUnwindSafe for BinanceTradeUpdate
impl Send for BinanceTradeUpdate
impl Sync for BinanceTradeUpdate
impl Unpin for BinanceTradeUpdate
impl UnwindSafe for BinanceTradeUpdate
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