#[repr(u8)]pub enum OrderTypeDiscriminants {
Limit = 0,
PostOnly = 1,
FillOrKill = 2,
ImmediateOrCancel = 3,
PostOnlySlide = 4,
PostOnlyFront = 5,
}Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for OrderTypeDiscriminants
impl Clone for OrderTypeDiscriminants
Source§fn clone(&self) -> OrderTypeDiscriminants
fn clone(&self) -> OrderTypeDiscriminants
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderTypeDiscriminants
impl Debug for OrderTypeDiscriminants
Source§impl Display for OrderTypeDiscriminants
impl Display for OrderTypeDiscriminants
Source§impl<'_enum> From<&'_enum OrderType> for OrderTypeDiscriminants
impl<'_enum> From<&'_enum OrderType> for OrderTypeDiscriminants
Source§fn from(val: &'_enum OrderType) -> OrderTypeDiscriminants
fn from(val: &'_enum OrderType) -> OrderTypeDiscriminants
Converts to this type from the input type.
Source§impl From<OrderType> for OrderTypeDiscriminants
impl From<OrderType> for OrderTypeDiscriminants
Source§fn from(val: OrderType) -> OrderTypeDiscriminants
fn from(val: OrderType) -> OrderTypeDiscriminants
Converts to this type from the input type.
Source§impl FromStr for OrderTypeDiscriminants
impl FromStr for OrderTypeDiscriminants
Source§impl PartialEq for OrderTypeDiscriminants
impl PartialEq for OrderTypeDiscriminants
Source§fn eq(&self, other: &OrderTypeDiscriminants) -> bool
fn eq(&self, other: &OrderTypeDiscriminants) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for OrderTypeDiscriminants
impl TryFrom<&str> for OrderTypeDiscriminants
impl Copy for OrderTypeDiscriminants
impl Eq for OrderTypeDiscriminants
impl StructuralPartialEq for OrderTypeDiscriminants
Auto Trait Implementations§
impl Freeze for OrderTypeDiscriminants
impl RefUnwindSafe for OrderTypeDiscriminants
impl Send for OrderTypeDiscriminants
impl Sync for OrderTypeDiscriminants
impl Unpin for OrderTypeDiscriminants
impl UnsafeUnpin for OrderTypeDiscriminants
impl UnwindSafe for OrderTypeDiscriminants
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