pub enum OrderType {
Market,
Limit,
}
Expand description
Defines the available order types
Variants
Market
aggressive market order
Limit
passive limit order
Implementations
Return the integer representation of this enum
Parse the OrderType from integer value
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 OrderType
impl UnwindSafe for OrderType
Blanket Implementations
Mutably borrows from an owned value. Read more