pub struct BinanceOrderFill {
pub price_mantissa: i64,
pub qty_mantissa: i64,
pub commission_mantissa: i64,
pub commission_exponent: i8,
pub commission_asset: String,
pub trade_id: Option<i64>,
}Expand description
A fill from an order execution.
Fields§
§price_mantissa: i64Fill price mantissa.
qty_mantissa: i64Fill quantity mantissa.
commission_mantissa: i64Commission mantissa.
commission_exponent: i8Commission exponent.
commission_asset: StringCommission asset.
trade_id: Option<i64>Trade ID (if available).
Trait Implementations§
Source§impl Clone for BinanceOrderFill
impl Clone for BinanceOrderFill
Source§fn clone(&self) -> BinanceOrderFill
fn clone(&self) -> BinanceOrderFill
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 BinanceOrderFill
impl Debug for BinanceOrderFill
Source§impl PartialEq for BinanceOrderFill
impl PartialEq for BinanceOrderFill
impl StructuralPartialEq for BinanceOrderFill
Auto Trait Implementations§
impl Freeze for BinanceOrderFill
impl RefUnwindSafe for BinanceOrderFill
impl Send for BinanceOrderFill
impl Sync for BinanceOrderFill
impl Unpin for BinanceOrderFill
impl UnwindSafe for BinanceOrderFill
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