Struct binance::ws_model::TradesEvent
source · [−]pub struct TradesEvent {
pub event_time: u64,
pub symbol: String,
pub aggregated_trade_id: u64,
pub price: String,
pub qty: String,
pub first_break_trade_id: u64,
pub last_break_trade_id: u64,
pub trade_order_time: u64,
pub is_buyer_maker: bool,
pub m_ignore: bool,
}Fields
event_time: u64symbol: Stringaggregated_trade_id: u64price: Stringqty: Stringfirst_break_trade_id: u64last_break_trade_id: u64trade_order_time: u64is_buyer_maker: boolm_ignore: boolTrait Implementations
sourceimpl Clone for TradesEvent
impl Clone for TradesEvent
sourcefn clone(&self) -> TradesEvent
fn clone(&self) -> TradesEvent
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TradesEvent
impl Debug for TradesEvent
sourceimpl<'de> Deserialize<'de> for TradesEvent
impl<'de> Deserialize<'de> for TradesEvent
sourcefn 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
sourceimpl Serialize for TradesEvent
impl Serialize for TradesEvent
Auto Trait Implementations
impl RefUnwindSafe for TradesEvent
impl Send for TradesEvent
impl Sync for TradesEvent
impl Unpin for TradesEvent
impl UnwindSafe for TradesEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more