Struct nash_protocol::types::exchange::OrderbookOrder [−][src]
pub struct OrderbookOrder {
pub price: String,
pub amount: BigDecimal,
}
Expand description
Compressed representation for Order as returned by Orderbook queries and subscriptions
Fields
price: String
amount: BigDecimal
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OrderbookOrder
impl Send for OrderbookOrder
impl Sync for OrderbookOrder
impl Unpin for OrderbookOrder
impl UnwindSafe for OrderbookOrder
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