Struct crypto_msg_parser::Order [−][src]
pub struct Order {
pub price: f64,
pub quantity_base: f64,
pub quantity_quote: f64,
pub quantity_contract: Option<f64>,
}
Expand description
An order in the orderbook asks or bids array.
Fields
price: f64
price
quantity_base: f64
quantity_quote: f64
quantity_contract: Option<f64>
Number of contracts, always None for Spot
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Order
impl UnwindSafe for Order
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