pub struct BinanceAccountTrade {Show 16 fields
pub price_exponent: i8,
pub qty_exponent: i8,
pub commission_exponent: i8,
pub id: i64,
pub order_id: i64,
pub order_list_id: Option<i64>,
pub price_mantissa: i64,
pub qty_mantissa: i64,
pub quote_qty_mantissa: i64,
pub commission_mantissa: i64,
pub time: i64,
pub is_buyer: bool,
pub is_maker: bool,
pub is_best_match: bool,
pub symbol: String,
pub commission_asset: String,
}Expand description
Account trade history entry.
Fields§
§price_exponent: i8Price exponent.
qty_exponent: i8Quantity exponent.
commission_exponent: i8Commission exponent.
id: i64Trade ID.
order_id: i64Order ID.
order_list_id: Option<i64>Order list ID (for OCO).
price_mantissa: i64Trade price mantissa.
qty_mantissa: i64Trade quantity mantissa.
quote_qty_mantissa: i64Quote quantity mantissa.
commission_mantissa: i64Commission mantissa.
time: i64Trade time in microseconds.
is_buyer: boolWhether the trade was as buyer.
is_maker: boolWhether the trade was as maker.
is_best_match: boolWhether this is the best price match.
symbol: StringSymbol.
commission_asset: StringCommission asset.
Trait Implementations§
Source§impl Clone for BinanceAccountTrade
impl Clone for BinanceAccountTrade
Source§fn clone(&self) -> BinanceAccountTrade
fn clone(&self) -> BinanceAccountTrade
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceAccountTrade
impl Debug for BinanceAccountTrade
Source§impl PartialEq for BinanceAccountTrade
impl PartialEq for BinanceAccountTrade
impl StructuralPartialEq for BinanceAccountTrade
Auto Trait Implementations§
impl Freeze for BinanceAccountTrade
impl RefUnwindSafe for BinanceAccountTrade
impl Send for BinanceAccountTrade
impl Sync for BinanceAccountTrade
impl Unpin for BinanceAccountTrade
impl UnwindSafe for BinanceAccountTrade
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more