#[repr(u32)]pub enum OrderType {
Market = 1,
Limit = 2,
Stop = 3,
StopLimit = 4,
}
Variants§
Trait Implementations§
source§impl PartialEq for OrderType
impl PartialEq for OrderType
source§impl TryFrom<u32> for OrderType
impl TryFrom<u32> for OrderType
§type Error = TryFromPrimitiveError<OrderType>
type Error = TryFromPrimitiveError<OrderType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for OrderType
impl TryFromPrimitive for OrderType
impl Copy for OrderType
impl StructuralPartialEq for OrderType
Auto Trait Implementations§
impl Freeze for OrderType
impl RefUnwindSafe for OrderType
impl Send for OrderType
impl Sync for OrderType
impl Unpin for OrderType
impl UnwindSafe for OrderType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more