pub struct RecentTrade {
pub id: i64,
pub price: Decimal,
pub qty: Decimal,
pub quote_qty: Decimal,
pub time: Timestamp,
pub is_buyer_maker: bool,
pub is_best_match: bool,
}Fields§
§id: i64§price: Decimal§qty: Decimal§quote_qty: Decimal§time: Timestamp§is_buyer_maker: bool§is_best_match: boolTrait Implementations§
Source§impl Debug for RecentTrade
impl Debug for RecentTrade
Source§impl<'de> Deserialize<'de> for RecentTrade
impl<'de> Deserialize<'de> for RecentTrade
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 RecentTrade
impl PartialEq for RecentTrade
Source§fn eq(&self, other: &RecentTrade) -> bool
fn eq(&self, other: &RecentTrade) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecentTrade
Auto Trait Implementations§
impl Freeze for RecentTrade
impl RefUnwindSafe for RecentTrade
impl Send for RecentTrade
impl Sync for RecentTrade
impl Unpin for RecentTrade
impl UnsafeUnpin for RecentTrade
impl UnwindSafe for RecentTrade
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