Struct crypto_market::Trade
[−]
[src]
pub struct Trade { pub id: i64, pub order: Order, pub timestamp: i64, }
Currency trade details.
It's format used in databases and streams, in places where currency pair is always known.
Fields
id: i64
Trade ID, unique only for a market.
order: Order
Trade order.
timestamp: i64
Trade timestamp.
Trait Implementations
impl PartialEq for Trade
[src]
fn eq(&self, __arg_0: &Trade) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Trade) -> bool
[src]
This method tests for !=
.
impl Clone for Trade
[src]
fn clone(&self) -> Trade
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more