Struct crypto_market::OrderBook
[−]
[src]
pub struct OrderBook { pub pair: Option<Pair>, pub asks: Vec<Order>, pub bids: Vec<Order>, }
Market order book.
Fields
pair: Option<Pair>
Currency pair.
asks: Vec<Order>
List of asks.
bids: Vec<Order>
List of bids.
Methods
impl OrderBook
[src]
Trait Implementations
impl PartialEq for OrderBook
[src]
fn eq(&self, __arg_0: &OrderBook) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OrderBook) -> bool
[src]
This method tests for !=
.
impl Clone for OrderBook
[src]
fn clone(&self) -> OrderBook
[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