Struct nash_protocol::protocol::orderbook::OrderbookResponse [−][src]
pub struct OrderbookResponse {
pub last_update_id: i64,
pub update_id: i64,
pub asks: Vec<OrderbookOrder>,
pub bids: Vec<OrderbookOrder>,
}Expand description
An order book is a list of bid and ask orders
Fields
last_update_id: i64update_id: i64asks: Vec<OrderbookOrder>bids: Vec<OrderbookOrder>Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OrderbookResponse
impl Send for OrderbookResponse
impl Sync for OrderbookResponse
impl Unpin for OrderbookResponse
impl UnwindSafe for OrderbookResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more