pub struct AggTradeMsg {
pub event_time: Timestamp,
pub symbol: String,
pub trade_id: i64,
pub price: Decimal,
pub qty: Decimal,
pub first_trade_id: i64,
pub last_trade_id: i64,
pub trade_time: Timestamp,
pub is_buyer_maker: bool,
}Expand description
The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
Fields§
§event_time: TimestampEvent time
symbol: StringSymbol
trade_id: i64Aggregate trade ID
price: DecimalPrice
qty: DecimalQuantity
first_trade_id: i64First trade ID
last_trade_id: i64Last trade ID
trade_time: TimestampTrade time
is_buyer_maker: boolIs the buyer the market maker?
Trait Implementations§
Source§impl Debug for AggTradeMsg
impl Debug for AggTradeMsg
Source§impl<'de> Deserialize<'de> for AggTradeMsg
impl<'de> Deserialize<'de> for AggTradeMsg
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
Source§impl PartialEq for AggTradeMsg
impl PartialEq for AggTradeMsg
Source§fn eq(&self, other: &AggTradeMsg) -> bool
fn eq(&self, other: &AggTradeMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AggTradeMsg
Auto Trait Implementations§
impl Freeze for AggTradeMsg
impl RefUnwindSafe for AggTradeMsg
impl Send for AggTradeMsg
impl Sync for AggTradeMsg
impl Unpin for AggTradeMsg
impl UnsafeUnpin for AggTradeMsg
impl UnwindSafe for AggTradeMsg
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