pub enum TimeInForce {
GTC,
IOC,
FOK,
}Expand description
Time in force. This sets how long an order will be active before expiration.
Variants§
GTC
Good Til Canceled An order will be on the book unless the order is canceled.
IOC
Immediate Or Cancel An order will try to fill the order as much as it can before the order expires.
FOK
Fill or Kill An order will expire if the full order cannot be filled upon execution.
Trait Implementations§
Source§impl Debug for TimeInForce
impl Debug for TimeInForce
Source§impl<'de> Deserialize<'de> for TimeInForce
impl<'de> Deserialize<'de> for TimeInForce
Source§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
Source§impl PartialEq for TimeInForce
impl PartialEq for TimeInForce
Source§impl Serialize for TimeInForce
impl Serialize 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 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