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

Trade ID, unique only for a market.

Trade order.

Trade timestamp.

Trait Implementations

impl PartialEq for Trade
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Trade
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Trade
[src]

[src]

Formats the value using the given formatter.