pub struct BinanceHistoricalTrade {
pub id: u64,
pub price: String,
pub qty: String,
pub quote_qty: String,
pub time: u64,
pub is_buyer_maker: bool,
pub is_best_match: bool,
}Expand description
Binance historical trades response
Fields§
§id: u64Trade ID
price: StringPrice
qty: StringQuantity
quote_qty: StringQuote quantity
time: u64Timestamp
is_buyer_maker: boolIs buyer maker flag
is_best_match: boolIs best match flag
Trait Implementations§
Source§impl Clone for BinanceHistoricalTrade
impl Clone for BinanceHistoricalTrade
Source§fn clone(&self) -> BinanceHistoricalTrade
fn clone(&self) -> BinanceHistoricalTrade
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 BinanceHistoricalTrade
impl Debug for BinanceHistoricalTrade
Source§impl<'de> Deserialize<'de> for BinanceHistoricalTrade
impl<'de> Deserialize<'de> for BinanceHistoricalTrade
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 BinanceHistoricalTrade
impl RefUnwindSafe for BinanceHistoricalTrade
impl Send for BinanceHistoricalTrade
impl Sync for BinanceHistoricalTrade
impl Unpin for BinanceHistoricalTrade
impl UnwindSafe for BinanceHistoricalTrade
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