pub struct AggTrade {
pub agg_trade_id: u64,
pub price: f64,
pub quantity: f64,
pub first_trade_id: u64,
pub last_trade_id: u64,
pub timestamp: u64,
pub is_buyer_maker: bool,
pub is_best_match: bool,
}Expand description
Aggregate trade.
Fields§
§agg_trade_id: u64Aggregate trade ID.
price: f64Price.
quantity: f64Quantity.
first_trade_id: u64First trade ID.
last_trade_id: u64Last trade ID.
timestamp: u64Timestamp.
is_buyer_maker: boolWas the buyer the maker.
is_best_match: boolWas this the best price match.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AggTrade
impl<'de> Deserialize<'de> for AggTrade
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
Auto Trait Implementations§
impl Freeze for AggTrade
impl RefUnwindSafe for AggTrade
impl Send for AggTrade
impl Sync for AggTrade
impl Unpin for AggTrade
impl UnwindSafe for AggTrade
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