Struct openlimits_exchange::model::order::Order [−][src]
pub struct Order {
pub id: String,
pub market_pair: String,
pub client_order_id: Option<String>,
pub created_at: Option<u64>,
pub order_type: OrderType,
pub side: Side,
pub status: OrderStatus,
pub size: Decimal,
pub price: Option<Decimal>,
pub remaining: Option<Decimal>,
pub trades: Vec<Trade>,
}Expand description
This struct represents an order
Fields
id: Stringmarket_pair: Stringclient_order_id: Option<String>created_at: Option<u64>order_type: OrderTypeside: Sidestatus: OrderStatussize: Decimalprice: Option<Decimal>remaining: Option<Decimal>trades: Vec<Trade>Implementations
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
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