#[repr(align(16))]pub struct ParsedAggTradeData {
pub symbol: String,
pub agg_trade_id: u64,
pub price: Decimal,
pub quantity: Decimal,
pub is_buyer_market_maker: bool,
pub trade_time: u64,
pub event_time: u64,
}Expand description
Parsed aggregate trade data with Decimal values
Fields§
§symbol: StringSymbol
agg_trade_id: u64Aggregate trade ID
price: DecimalPrice
quantity: DecimalQuantity
is_buyer_market_maker: boolBuy or sell side (true for maker is buyer)
trade_time: u64Trade timestamp
event_time: u64Event timestamp (when message was generated)
Trait Implementations§
Source§impl Clone for ParsedAggTradeData
impl Clone for ParsedAggTradeData
Source§fn clone(&self) -> ParsedAggTradeData
fn clone(&self) -> ParsedAggTradeData
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 ParsedAggTradeData
impl Debug for ParsedAggTradeData
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 ParsedAggTradeData
impl RefUnwindSafe for ParsedAggTradeData
impl Send for ParsedAggTradeData
impl Sync for ParsedAggTradeData
impl Unpin for ParsedAggTradeData
impl UnwindSafe for ParsedAggTradeData
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