Struct binance::ws_model::TradeEvent
source · pub struct TradeEvent {
pub event_time: u64,
pub symbol: String,
pub trade_id: u64,
pub price: String,
pub qty: String,
pub buyer_order_id: u64,
pub seller_order_id: u64,
pub trade_order_time: u64,
pub is_buyer_maker: bool,
pub m_ignore: bool,
}
Fields§
§event_time: u64
§symbol: String
§trade_id: u64
§price: String
§qty: String
§buyer_order_id: u64
§seller_order_id: u64
§trade_order_time: u64
§is_buyer_maker: bool
§m_ignore: bool
Trait Implementations§
source§impl Clone for TradeEvent
impl Clone for TradeEvent
source§fn clone(&self) -> TradeEvent
fn clone(&self) -> TradeEvent
Returns a copy 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 TradeEvent
impl Debug for TradeEvent
source§impl<'de> Deserialize<'de> for TradeEvent
impl<'de> Deserialize<'de> for TradeEvent
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 RefUnwindSafe for TradeEvent
impl Send for TradeEvent
impl Sync for TradeEvent
impl Unpin for TradeEvent
impl UnwindSafe for TradeEvent
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