Struct stellar_client::resources::Orderbook[][src]

pub struct Orderbook { /* fields omitted */ }

Order books keep records of all offers to sell (asks) and offer to buy (bids) for a particular pair of assets. The asset pairs are refered to as a base and counter.

https://www.stellar.org/developers/horizon/reference/resources/orderbook.html

Methods

impl Orderbook
[src]

Returns an array of offers to purchase the base asset in exchange for the counter asset

Returns an array of offers to sell the base asset in exchange for the counter asset

Returns a reference to the asset identifier for the asset that the corresponding bids would like to acquire

Returns a reference to the asset identifier for the asset that the corresponding bids would like to trade in exchange for the base.

Trait Implementations

impl Debug for Orderbook
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Orderbook

impl Sync for Orderbook