#[non_exhaustive]#[repr(u8)]pub enum OrderFlag {
ShouldKeepPositionAccount = 0,
}Expand description
Order Flags.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ShouldKeepPositionAccount = 0
Whether to keep position account when empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrderFlag
impl RefUnwindSafe for OrderFlag
impl Send for OrderFlag
impl Sync for OrderFlag
impl Unpin for OrderFlag
impl UnwindSafe for OrderFlag
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