Struct nash_protocol::protocol::get_ticker::TickerResponse [−][src]
pub struct TickerResponse {
pub id: String,
pub a_volume_24h: BigDecimal,
pub b_volume_24h: BigDecimal,
pub best_ask_price: Option<BigDecimal>,
pub best_bid_price: Option<BigDecimal>,
pub best_ask_amount: Option<BigDecimal>,
pub best_bid_amount: Option<BigDecimal>,
pub high_price_24h: Option<BigDecimal>,
pub last_price: Option<BigDecimal>,
pub low_price_24h: Option<BigDecimal>,
pub price_change_24h: Option<BigDecimal>,
pub market_name: String,
}Expand description
Ticker response information
Fields
id: Stringa_volume_24h: BigDecimalb_volume_24h: BigDecimalbest_ask_price: Option<BigDecimal>best_bid_price: Option<BigDecimal>best_ask_amount: Option<BigDecimal>best_bid_amount: Option<BigDecimal>high_price_24h: Option<BigDecimal>last_price: Option<BigDecimal>low_price_24h: Option<BigDecimal>price_change_24h: Option<BigDecimal>market_name: StringTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TickerResponse
impl Send for TickerResponse
impl Sync for TickerResponse
impl Unpin for TickerResponse
impl UnwindSafe for TickerResponse
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