#[non_exhaustive]pub enum TimeInForce {
GoodTilCancelled,
ImmediateOrCancel,
FillOrKill,
}Expand description
How long an order rests.
An order that expires at a set time is a venue option.
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.
GoodTilCancelled
Rests until it fills or is cancelled.
ImmediateOrCancel
Matches what it can at once; the remainder is cancelled.
FillOrKill
Trait Implementations§
Source§impl Clone for TimeInForce
impl Clone for TimeInForce
impl Copy for TimeInForce
Source§impl Debug for TimeInForce
impl Debug for TimeInForce
Source§impl Default for TimeInForce
impl Default for TimeInForce
impl Eq for TimeInForce
Source§impl Hash for TimeInForce
impl Hash for TimeInForce
Source§impl PartialEq for TimeInForce
impl PartialEq for TimeInForce
impl StructuralPartialEq for TimeInForce
Auto Trait Implementations§
impl Freeze for TimeInForce
impl RefUnwindSafe for TimeInForce
impl Send for TimeInForce
impl Sync for TimeInForce
impl Unpin for TimeInForce
impl UnsafeUnpin for TimeInForce
impl UnwindSafe for TimeInForce
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