Struct openlimits_exchange::model::OrderFilter [−][src]
pub struct OrderFilter {
pub market_pair: Option<String>,
pub client_order_id: Option<String>,
pub order_type: Option<OrderType>,
pub side: Option<Side>,
pub status: Option<OrderStatus>,
pub created_at: Option<Range<u64>>,
pub size: Option<Range<Decimal>>,
pub price: Option<Range<Decimal>>,
pub remaining: Option<Range<Decimal>>,
}Expand description
This struct represents an order
Fields
market_pair: Option<String>client_order_id: Option<String>order_type: Option<OrderType>side: Option<Side>status: Option<OrderStatus>created_at: Option<Range<u64>>size: Option<Range<Decimal>>price: Option<Range<Decimal>>remaining: Option<Range<Decimal>>Implementations
Set market pair.
Set client order ID.
Set OrderType.
Set OrderStatus.
Set creation time.
Set price.
Set remaining.
Trait Implementations
Returns the “default value” for a type. Read more
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 OrderFilter
impl Send for OrderFilter
impl Sync for OrderFilter
impl Unpin for OrderFilter
impl UnwindSafe for OrderFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self