pub struct EventTrade {
pub event_time: Timestamp,
pub symbol: String,
pub trade_id: i64,
pub price: Decimal,
pub qty: Decimal,
pub trade_time: Timestamp,
pub is_buyer: bool,
}Expand description
The Trade Streams push raw trade information; each trade has a unique buyer and seller.
Fields§
§event_time: TimestampEvent time
symbol: StringSymbol
trade_id: i64Aggregate trade ID
price: DecimalPrice
qty: DecimalQuantity
trade_time: TimestampTrade time
is_buyer: boolIs the buyer the market maker?
Trait Implementations§
Source§impl Debug for EventTrade
impl Debug for EventTrade
Source§impl<'de> Deserialize<'de> for EventTrade
impl<'de> Deserialize<'de> for EventTrade
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 EventTrade
impl PartialEq for EventTrade
impl StructuralPartialEq for EventTrade
Auto Trait Implementations§
impl Freeze for EventTrade
impl RefUnwindSafe for EventTrade
impl Send for EventTrade
impl Sync for EventTrade
impl Unpin for EventTrade
impl UnwindSafe for EventTrade
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