#[repr(align(16))]pub struct AggTradeMessage {
pub event_type: String,
pub event_time: u64,
pub symbol: String,
pub agg_trade_id: u64,
pub price: String,
pub quantity: String,
pub first_trade_id: u64,
pub last_trade_id: u64,
pub trade_time: u64,
pub is_buyer_market_maker: bool,
}Expand description
Aggregate trade message from Binance Futures WebSocket
Fields§
§event_type: StringEvent type
event_time: u64Event time
symbol: StringSymbol
agg_trade_id: u64Aggregate trade ID
price: StringPrice
quantity: StringQuantity
first_trade_id: u64First trade ID
last_trade_id: u64Last trade ID
trade_time: u64Trade time
is_buyer_market_maker: boolIs the buyer the market maker?
Trait Implementations§
Source§impl Clone for AggTradeMessage
impl Clone for AggTradeMessage
Source§fn clone(&self) -> AggTradeMessage
fn clone(&self) -> AggTradeMessage
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 AggTradeMessage
impl Debug for AggTradeMessage
Source§impl<'de> Deserialize<'de> for AggTradeMessage
impl<'de> Deserialize<'de> for AggTradeMessage
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 From<AggTradeMessage> for ParsedAggTradeData
impl From<AggTradeMessage> for ParsedAggTradeData
Source§fn from(msg: AggTradeMessage) -> Self
fn from(msg: AggTradeMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AggTradeMessage
impl RefUnwindSafe for AggTradeMessage
impl Send for AggTradeMessage
impl Sync for AggTradeMessage
impl Unpin for AggTradeMessage
impl UnwindSafe for AggTradeMessage
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