pub struct Trade {Show 13 fields
pub id: String,
pub taker_order_id: String,
pub maker_order_id: String,
pub amount: BigDecimal,
pub executed_at: DateTime<Utc>,
pub account_side: AccountTradeSide,
pub maker_fee: BigDecimal,
pub taker_fee: BigDecimal,
pub maker_recieved: BigDecimal,
pub taker_recieved: BigDecimal,
pub market: String,
pub direction: BuyOrSell,
pub limit_price: BigDecimal,
}Fields§
§id: String§taker_order_id: String§maker_order_id: String§amount: BigDecimal§executed_at: DateTime<Utc>§account_side: AccountTradeSide§maker_fee: BigDecimal§taker_fee: BigDecimal§maker_recieved: BigDecimal§taker_recieved: BigDecimal§market: String§direction: BuyOrSell§limit_price: BigDecimalTrait Implementations§
Auto Trait Implementations§
impl Freeze for Trade
impl RefUnwindSafe for Trade
impl Send for Trade
impl Sync for Trade
impl Unpin for Trade
impl UnwindSafe for Trade
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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